discomfitor pushed a commit to branch master.

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

commit e4f317973122ae70edb342340c1d3d7ce14c4511
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue May 10 13:00:01 2016 -0400

    block keyboard sending for wl clients if a compositor grab is active
    
    fix T3599
---
 src/bin/e_comp_wl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index edac963..4031bb7 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -485,6 +485,7 @@ _e_comp_wl_evas_cb_focus_in(void *data, Evas *evas 
EINA_UNUSED, Evas_Object *obj
        e_comp_wl->kbd.focused = eina_list_append(e_comp_wl->kbd.focused, res);
    if (!e_comp_wl->kbd.focused) return;
    e_comp_wl_input_keyboard_enter_send(ec);
+   if (e_comp_util_kbd_grabbed()) return;
    e_comp_wl_data_device_keyboard_focus_set();
    ec->comp_data->on_focus_timer =
      ecore_timer_add(0.8, (Ecore_Task_Cb)_e_comp_wl_evas_cb_focus_in_timer, 
ec);

-- 


Reply via email to