diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-01 15:15:04 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-05 14:12:04 +1000 |
commit | f1bed0959e803784af142a0f45177ee3b675d78a (patch) | |
tree | 5345dfde6fb094f06768f3cf473cc8529928b278 /Xext | |
parent | 94648bb797d94b025746c60679c584e5be2fae28 (diff) |
Xext: fix core Xtest button presses, don't call PickPointer.
We already did the device selection before, so dev should be the XTest virtual
pointer.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/xtest.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Xext/xtest.c b/Xext/xtest.c index d21eedcde..8aca6a0f7 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -376,12 +376,6 @@ ProcXTestFakeInput(ClientPtr client) break; case ButtonPress: case ButtonRelease: - if (!extension) - { - dev = PickPointer(client); - if (dev->u.lastSlave) - dev = dev->u.lastSlave; - } if (!ev->u.u.detail || ev->u.u.detail > dev->button->numButtons) { client->errorValue = ev->u.u.detail; |