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:
parent
ba87c25321
commit
449723510a
|
@ -1031,7 +1031,7 @@ _XkbFilterDeviceBtn( XkbSrvInfoPtr xkbi,
|
||||||
DeviceIntPtr dev;
|
DeviceIntPtr dev;
|
||||||
int button;
|
int button;
|
||||||
|
|
||||||
if (dev == inputInfo.keyboard)
|
if (xkbi->device == inputInfo.keyboard)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (filter->keycode==0) { /* initial press */
|
if (filter->keycode==0) { /* initial press */
|
||||||
|
|
Loading…
Reference in New Issue