xkb: don't send core events for extension devices on SlowKey timeout.
RedHat Bug 448604 <https://bugzilla.redhat.com/show_bug.cgi?id=448604>
This commit is contained in:
parent
2d6022bd40
commit
ff1a9b7fea
|
@ -352,7 +352,9 @@ 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,
|
||||
(keybd == inputInfo.keyboard) ? KeyPress : DeviceKeyPress,
|
||||
xkbi->slowKey,False);
|
||||
/* check for magic sequences */
|
||||
if ((ctrls->enabled_ctrls&XkbAccessXKeysMask) &&
|
||||
((sym[0]==XK_Shift_R)||(sym[0]==XK_Shift_L)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user