devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=147bc3d71afae2cde120bff7c2f6a9c46d6ad0d8

commit 147bc3d71afae2cde120bff7c2f6a9c46d6ad0d8
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Jul 14 14:46:13 2015 -0400

    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.mich...@samsung.com>
---
 src/bin/e_comp_wl_input.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c
index 270b1f9..c04c936 100644
--- a/src/bin/e_comp_wl_input.c
+++ b/src/bin/e_comp_wl_input.c
@@ -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

-- 


Reply via email to