xkb: fix typo - missing negation when checking button state.
Introduced with a85f0d6b98
.
Reported by Thomas Jaeger.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9a313fb031
commit
515ce3e4ba
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user