mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-20 19:30:29 +01:00
xkb: don't send core events on SlowKeys.
Core events don't happen until later in the DIX, so pump device events down instead. This makes modifiers work again when SlowKeys is enabled.
This commit is contained in:
parent
0c39acbdd1
commit
abcb1771ac
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ XkbControlsPtr ctrls;
|
|||
XkbSendAccessXNotify(keybd,&ev);
|
||||
if (XkbAX_NeedFeedback(ctrls,XkbAX_SKAcceptFBMask))
|
||||
XkbDDXAccessXBeep(keybd,_BEEP_SLOW_ACCEPT,XkbSlowKeysMask);
|
||||
AccessXKeyboardEvent(keybd,KeyPress,xkbi->slowKey,False);
|
||||
AccessXKeyboardEvent(keybd,DeviceKeyPress,xkbi->slowKey,False);
|
||||
/* check for magic sequences */
|
||||
if ((ctrls->enabled_ctrls&XkbAccessXKeysMask) &&
|
||||
((sym[0]==XK_Shift_R)||(sym[0]==XK_Shift_L)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue