discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=435bd8794a12a1afef4134ba40ccc0128f505c1a

commit 435bd8794a12a1afef4134ba40ccc0128f505c1a
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jul 22 16:28:08 2015 -0400

    don't update wl keyboard state on client focus events
    
    this is always up-to-date
---
 src/bin/e_comp_wl.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 13b32c6..4eac7a3 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -499,10 +499,6 @@ _e_comp_wl_evas_cb_focus_in(void *data, Evas *evas 
EINA_UNUSED, Evas_Object *obj
    /* raise client priority */
    _e_comp_wl_client_priority_raise(ec);
 
-   /* update keyboard modifier state */
-   wl_array_for_each(k, &e_comp->wl_comp_data->kbd.keys)
-     e_comp_wl_input_keyboard_state_update(*k, EINA_TRUE);
-
    e_comp_wl_input_keyboard_enter_send(ec);
 }
 
@@ -520,10 +516,6 @@ _e_comp_wl_evas_cb_focus_out(void *data, Evas *evas 
EINA_UNUSED, Evas_Object *ob
 
    cdata = e_comp->wl_comp_data;
 
-   /* update keyboard modifier state */
-   wl_array_for_each(k, &cdata->kbd.keys)
-     e_comp_wl_input_keyboard_state_update(*k, EINA_FALSE);
-
    if (e_object_is_del(E_OBJECT(ec))) return;
 
    /* lower client priority */

-- 


Reply via email to