summaryrefslogtreecommitdiff
path: root/xkb/xkbPrOtherEv.c
diff options
context:
space:
mode:
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;
}