forked from pool/xorg-x11-server
14 lines
377 B
Diff
14 lines
377 B
Diff
diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c
|
|
index 8c72874..f226b6b 100644
|
|
--- a/xkb/xkbActions.c
|
|
+++ b/xkb/xkbActions.c
|
|
@@ -1031,7 +1031,7 @@ _XkbFilterDeviceBtn( XkbSrvInfoPtr xkbi,
|
|
DeviceIntPtr dev;
|
|
int button;
|
|
|
|
- if (dev == inputInfo.keyboard)
|
|
+ if (xkbi->device == inputInfo.keyboard)
|
|
return 0;
|
|
|
|
if (filter->keycode==0) { /* initial press */
|