mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 03:20:07 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue