From 435bd8794a12a1afef4134ba40ccc0128f505c1a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 22 Jul 2015 16:28:08 -0400 Subject: [PATCH] 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 */ -- 2.7.4