diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-03-02 17:14:37 +1030 |
---|---|---|
committer | Peter Hutterer <whot@hyena.localdomain> | 2007-03-02 17:14:37 +1030 |
commit | 57aa5e908dc11d5d8c27ed705c526f1416c1e8ad (patch) | |
tree | d9abea38a8f47d671488c509f2e5808d233cabdb /Xext/xtest.c | |
parent | e43b8a4e40991ca6e545bda4cf9b9bd7a2bf22e2 (diff) |
dix, Xext, Xtrap, Xi: replace inputInfo.pointer with PickPointer where
possible. More replacements to come.
Diffstat (limited to 'Xext/xtest.c')
-rw-r--r-- | Xext/xtest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Xext/xtest.c b/Xext/xtest.c index cb7b5b83b..93e88c471 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -316,7 +316,7 @@ ProcXTestFakeInput(client) #ifdef XINPUT if (!extension) #endif /* XINPUT */ - dev = (DeviceIntPtr)LookupKeyboardDevice(); + dev = PickKeyboard(client); if (ev->u.u.detail < dev->key->curKeySyms.minKeyCode || ev->u.u.detail > dev->key->curKeySyms.maxKeyCode) { @@ -361,7 +361,7 @@ ProcXTestFakeInput(client) } #endif /* XINPUT */ if (!dev) - dev = (DeviceIntPtr*)LookupPointerDevice(); + dev = PickPointer(client); if (ev->u.keyButtonPointer.root == None) root = GetCurrentRootWindow(); else @@ -451,7 +451,7 @@ ProcXTestFakeInput(client) #ifdef XINPUT if (!extension) #endif /* XINPUT */ - dev = (DeviceIntPtr*)LookupPointerDevice(); + dev = PickPointer(client); if (!ev->u.u.detail || ev->u.u.detail > dev->button->numButtons) { client->errorValue = ev->u.u.detail; |