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:
Derek Foreman 2015-07-28 17:12:57 -04:00 committed by Mike Blumenkrantz
parent 8278e20183
commit fea72d5fcd
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ e_comp_wl_input_keyboard_modifiers_update(void)
if (!e_comp->wl_comp_data->kbd.focused) return;
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,
e_comp->wl_comp_data->kbd.mod_depressed,
e_comp->wl_comp_data->kbd.mod_latched,