feed mouse-in event to drm canvas on init
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 7 Jul 2015 18:33:14 +0000 (14:33 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 7 Jul 2015 18:33:14 +0000 (14:33 -0400)
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

index 8773705..ce588c2 100644 (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);