forked from enlightenment/enlightenment
block keyboard sending for wl clients if a compositor grab is active
fix T3599
This commit is contained in:
parent
f37590209d
commit
e4f3179731
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue