From 57191576db1cd48865fad58e8ce9edd59d5d8d8a Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 22 Apr 2015 10:42:33 -0400 Subject: [PATCH] wl-drm: We need to set the compositor pointer values After wl_comp_data has been created else we crash Signed-off-by: Chris Michael --- src/modules/wl_drm/e_mod_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c index ab7c3ed..b6cf3cc 100644 --- a/src/modules/wl_drm/e_mod_main.c +++ b/src/modules/wl_drm/e_mod_main.c @@ -157,6 +157,9 @@ e_modapi_init(E_Module *m) /* NB: This needs to be called AFTER the comp canvas has been setup */ if (!e_comp_wl_init()) return NULL; + ecore_evas_pointer_xy_get(e_comp->ee, &e_comp->wl_comp_data->ptr.x, + &e_comp->wl_comp_data->ptr.y); + e_comp_wl_input_pointer_enabled_set(e_comp->wl_comp_data, EINA_TRUE); e_comp_wl_input_keyboard_enabled_set(e_comp->wl_comp_data, EINA_TRUE); -- 2.7.4