diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-01-05 15:48:45 +1000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-01-30 17:12:17 -0800 |
commit | e789789196db8271a83c751fdf990ceb70164cb1 (patch) | |
tree | de59211bc8235e389d32a9246dd845a455f277a1 /xkb | |
parent | ebb3872925315d705e47e1ccd7f193ac90ac33dc (diff) |
xkb: fix typo - missing negation when checking button state.
Introduced with a85f0d6b98237d8a196de624207acf1983a1859a.
Reported by Thomas Jaeger.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 515ce3e4ba42605a1ee9979e8bb5acd3cf6470a3)
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 64e17e9ac..aea479cd1 100644 --- a/xkb/xkbActions.c +++ b/xkb/xkbActions.c @@ -1075,7 +1075,7 @@ int button; switch (filter->upAction.type) { case XkbSA_LockDeviceBtn: if ((filter->upAction.devbtn.flags&XkbSA_LockNoUnlock)|| - BitIsOn(dev->button->down, button)) + !BitIsOn(dev->button->down, button)) return 0; XkbDDXFakeDeviceButton(dev,False,button); break; |