From 449723510a1f9d024e23d9eb33795cac27f9443e Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Tue, 22 Apr 2008 13:30:03 +0930 Subject: [PATCH] xkb: use the correct device instead of an uninitialised "dev". #15614 X.Org Bug 15614 Signed-off-by: Peter Hutterer --- xkb/xkbActions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c index 8c72874df..f226b6bda 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 */