xkb: fix typo - missing negation when checking button state.
Introduced witha85f0d6b98
. Reported by Thomas Jaeger. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit515ce3e4ba
)
This commit is contained in:
parent
ebb3872925
commit
e789789196
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user