e-comp-wl: don't send keyboard modifiers twice.

NB: e_comp_wl_input_keyboard_modifiers_update already sends keyboard
modifiers to all keyboard resources, so no need to call this twice.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-07-14 14:46:13 -04:00
parent 116af14649
commit 147bc3d71a
1 changed files with 0 additions and 11 deletions

View File

@ -400,17 +400,6 @@ _e_comp_wl_input_keymap_update(struct xkb_keymap *keymap)
/* update modifiers */
e_comp_wl_input_keyboard_modifiers_update();
if ((!latched) && (!locked)) return;
/* send modifiers */
serial = wl_display_get_serial(e_comp->wl_comp_data->wl.disp);
EINA_LIST_FOREACH(e_comp->wl_comp_data->kbd.resources, l, res)
wl_keyboard_send_modifiers(res, serial,
e_comp->wl_comp_data->kbd.mod_depressed,
e_comp->wl_comp_data->kbd.mod_latched,
e_comp->wl_comp_data->kbd.mod_locked,
e_comp->wl_comp_data->kbd.mod_group);
}
EINTERN Eina_Bool