summaryrefslogtreecommitdiff
path: root/XTrap
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-03-02 17:14:37 +1030
committerPeter Hutterer <whot@hyena.localdomain>2007-03-02 17:14:37 +1030
commit57aa5e908dc11d5d8c27ed705c526f1416c1e8ad (patch)
treed9abea38a8f47d671488c509f2e5808d233cabdb /XTrap
parente43b8a4e40991ca6e545bda4cf9b9bd7a2bf22e2 (diff)
dix, Xext, Xtrap, Xi: replace inputInfo.pointer with PickPointer where
possible. More replacements to come.
Diffstat (limited to 'XTrap')
-rw-r--r--XTrap/xtrapddmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/XTrap/xtrapddmi.c b/XTrap/xtrapddmi.c
index c633b8d36..ec094ecf4 100644
--- a/XTrap/xtrapddmi.c
+++ b/XTrap/xtrapddmi.c
@@ -97,8 +97,8 @@ int XETrapSimulateXEvent(register xXTrapInputReq *request,
xEvent xev;
register int x = request->input.x;
register int y = request->input.y;
- DevicePtr keydev = LookupKeyboardDevice();
- DevicePtr ptrdev = LookupPointerDevice();
+ DevicePtr keydev = (DevicePtr)PickKeyboard(client);
+ DevicePtr ptrdev = (DevicePtr)PickPointer(client);
if (request->input.screen < screenInfo.numScreens)
{