devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=57191576db1cd48865fad58e8ce9edd59d5d8d8a

commit 57191576db1cd48865fad58e8ce9edd59d5d8d8a
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Apr 22 10:42:33 2015 -0400

    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 <cp.mich...@samsung.com>
---
 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);
 

-- 


Reply via email to