forked from enlightenment/enlightenment
wayland: Only send keyboard modifiers to focused resources
Summary: We were sending them to anything that bound a wl_keyboard. Reviewers: zmike Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2879
This commit is contained in:
parent
8278e20183
commit
fea72d5fcd
|
@ -528,7 +528,7 @@ e_comp_wl_input_keyboard_modifiers_update(void)
|
||||||
if (!e_comp->wl_comp_data->kbd.focused) return;
|
if (!e_comp->wl_comp_data->kbd.focused) return;
|
||||||
|
|
||||||
serial = wl_display_next_serial(e_comp->wl_comp_data->wl.disp);
|
serial = wl_display_next_serial(e_comp->wl_comp_data->wl.disp);
|
||||||
EINA_LIST_FOREACH(e_comp->wl_comp_data->kbd.resources, l, res)
|
EINA_LIST_FOREACH(e_comp->wl_comp_data->kbd.focused, l, res)
|
||||||
wl_keyboard_send_modifiers(res, serial,
|
wl_keyboard_send_modifiers(res, serial,
|
||||||
e_comp->wl_comp_data->kbd.mod_depressed,
|
e_comp->wl_comp_data->kbd.mod_depressed,
|
||||||
e_comp->wl_comp_data->kbd.mod_latched,
|
e_comp->wl_comp_data->kbd.mod_latched,
|
||||||
|
|
Loading…
Reference in New Issue