feed mouse-in event to drm canvas on init

this is normally triggered by the engine/display server, but the drm
output is too powerful to be bothered by such trivial matters as
mouse events on startup
This commit is contained in:
Mike Blumenkrantz 2015-07-07 14:33:14 -04:00
parent c961408d7f
commit 31f6c5b446
1 changed files with 1 additions and 0 deletions

View File

@ -669,6 +669,7 @@ e_modapi_init(E_Module *m)
ecore_evas_pointer_xy_get(e_comp->ee, &e_comp->wl_comp_data->ptr.x,
&e_comp->wl_comp_data->ptr.y);
evas_event_feed_mouse_in(e_comp->evas, 0, NULL);
e_comp_wl_input_pointer_enabled_set(EINA_TRUE);
e_comp_wl_input_keyboard_enabled_set(EINA_TRUE);