potential fix for ENTER (modifiers) stuck after CTRL-ALT-ENTER (toggle fullscreen), clearing the buffer in xk_keyboard_update_modifier_keys. (#5280)
* xk_keyboard_update_modifier_keys fixed to clear the buffer. * removed the xf_keyboard_clear(xfc) fix comments
This commit is contained in:
parent
fd27451768
commit
f002c7429b
@ -325,6 +325,9 @@ static void xk_keyboard_update_modifier_keys(xfContext* xfc)
|
||||
int keysyms[] = {XK_Shift_L, XK_Shift_R, XK_Alt_L, XK_Alt_R,
|
||||
XK_Control_L, XK_Control_R, XK_Super_L, XK_Super_R
|
||||
};
|
||||
|
||||
xf_keyboard_clear(xfc);
|
||||
|
||||
state = xf_keyboard_read_keyboard_state(xfc);
|
||||
|
||||
for (i = 0; i < ARRAYSIZE(keysyms); i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user