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