mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xkb: use the correct device instead of an uninitialised "dev". #15614
X.Org Bug 15614 <http://bugs.freedesktop.org/show_bug.cgi?id=15614> Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
This commit is contained in:
committed by
Peter Hutterer
parent
ba87c25321
commit
449723510a
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user