forked from enlightenment/enlightenment
automatically enable pointer and keyboard for wayland-in-X
This commit is contained in:
parent
362a9b6cce
commit
e7a0b193f3
|
@ -1703,6 +1703,12 @@ _e_comp_wl_compositor_create(void)
|
|||
/* setup module idler to load shell module */
|
||||
ecore_idler_add(_e_comp_wl_cb_module_idle, cdata);
|
||||
|
||||
if (comp->comp_type == E_PIXMAP_TYPE_X)
|
||||
{
|
||||
e_comp_wl_input_pointer_enabled_set(comp->wl_comp_data, EINA_TRUE);
|
||||
e_comp_wl_input_keyboard_enabled_set(comp->wl_comp_data, EINA_TRUE);
|
||||
}
|
||||
|
||||
return EINA_TRUE;
|
||||
|
||||
disp_err:
|
||||
|
|
Loading…
Reference in New Issue