summaryrefslogtreecommitdiff
path: root/xkb/xkbPrOtherEv.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-09-28 13:34:18 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-09-28 13:34:18 -0400
commit8b548657204000e18c7a38706a0071ae2f93159f (patch)
treed27bfac8684053439bad7d911c8fe4ad0c758995 /xkb/xkbPrOtherEv.c
parent5c03d131815cfe2f78792277ab8352e69e830196 (diff)
xace: add hooks + new access codes: XKB extension.
Removes "LookupKeyboardDevice" and "LookupPointerDevice" in favor of inputInfo.keyboard and inputInfo.pointer, respectively; all use cases are non-XI compliant anyway.
Diffstat (limited to 'xkb/xkbPrOtherEv.c')
-rw-r--r--xkb/xkbPrOtherEv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/xkbPrOtherEv.c b/xkb/xkbPrOtherEv.c
index a2ea0909a..d65107cdc 100644
--- a/xkb/xkbPrOtherEv.c
+++ b/xkb/xkbPrOtherEv.c
@@ -71,7 +71,7 @@ Bool xkbCares,isBtn;
if ((!isBtn)||((dev->button)&&(dev->button->xkb_acts))) {
DeviceIntPtr kbd;
if (dev->key) kbd= dev;
- else kbd= (DeviceIntPtr)LookupKeyboardDevice();
+ else kbd= inputInfo.keyboard;
XkbHandleActions(dev,kbd,xE,count);
return;
}