summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-01 15:15:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-04 15:21:39 +1000
commit0fdff0a47a57a0096974ee83e07fefbad03075dd (patch)
treea849070d32c70aa2ee2929d5629efbbf89d8fcc9 /Xext
parentf0124ed93cdcee8d22a6690e639a3f60b9a63c54 (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.c6
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;