summaryrefslogtreecommitdiff
path: root/Xi/ungrdevk.c
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 /Xi/ungrdevk.c
parente43b8a4e40991ca6e545bda4cf9b9bd7a2bf22e2 (diff)
dix, Xext, Xtrap, Xi: replace inputInfo.pointer with PickPointer where
possible. More replacements to come.
Diffstat (limited to 'Xi/ungrdevk.c')
-rw-r--r--Xi/ungrdevk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/ungrdevk.c b/Xi/ungrdevk.c
index ebb83bce7..e8c006ae6 100644
--- a/Xi/ungrdevk.c
+++ b/Xi/ungrdevk.c
@@ -132,7 +132,7 @@ ProcXUngrabDeviceKey(ClientPtr client)
return Success;
}
} else
- mdev = (DeviceIntPtr) LookupKeyboardDevice();
+ mdev = PickKeyboard(client);
rc = dixLookupWindow(&pWin, stuff->grabWindow, client, DixUnknownAccess);
if (rc != Success) {