From 31f6c5b4469fd748fdd8e956d7652f1b8f912bac Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 7 Jul 2015 14:33:14 -0400 Subject: [PATCH] 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 --- src/modules/wl_drm/e_mod_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c index 8773705..ce588c2 100644 --- a/src/modules/wl_drm/e_mod_main.c +++ b/src/modules/wl_drm/e_mod_main.c @@ -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); -- 2.7.4