Summary:
We still update the keyboard array. focus_in adds everything in the
array to xkbstate anyway, so adding it when there's no focus results
in a double update of state and potentially stuck modifiers.
Reviewers: zmike, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2111
k = wl_array_add(&cdata->kbd.keys, sizeof(*k));
*k = keycode;
- /* update modifier state */
- e_comp_wl_input_keyboard_state_update(cdata, keycode, EINA_TRUE);
-
if ((ec = e_client_focused_get()))
{
+ /* update modifier state */
+ e_comp_wl_input_keyboard_state_update(cdata, keycode, EINA_TRUE);
+
if (ec->comp_data->surface)
{
struct wl_client *wc;