diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-01-05 15:48:45 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-01-08 11:45:21 +1000 |
commit | 515ce3e4ba42605a1ee9979e8bb5acd3cf6470a3 (patch) | |
tree | 3d009130abdda559a0bf9e20f588af4a4739c809 | |
parent | 9a313fb03153eb764aab3e9cb9988b6603541637 (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>
-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 6696c7649..dae35960c 100644 --- a/xkb/xkbActions.c +++ b/xkb/xkbActions.c @@ -1074,7 +1074,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; |