diff options
author | Egbert Eich <eich@pdx.freedesktop.org> | 2008-04-22 13:30:03 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-04-22 13:30:25 +0930 |
commit | 449723510a1f9d024e23d9eb33795cac27f9443e (patch) | |
tree | d1c9e4135434fa650711cf1b74c8aaf5742437d9 /xkb | |
parent | ba87c25321c3378fd1ad0c55dcb0af0a6e82a540 (diff) |
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>
Diffstat (limited to 'xkb')
-rw-r--r-- | xkb/xkbActions.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |