devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=026b1e9dc537daaf2b6d49fc255bc97d5f827f91
commit 026b1e9dc537daaf2b6d49fc255bc97d5f827f91 Author: Chris Michael <[email protected]> Date: Thu Sep 18 11:57:24 2014 -0400 ecore-wayland: Don't crash if we have no shm interface yet when setting cursor theme @fix Signed-off-by: Chris Michael <[email protected]> --- src/lib/ecore_wayland/ecore_wl_input.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c index 6895d69..5f80f80 100644 --- a/src/lib/ecore_wayland/ecore_wl_input.c +++ b/src/lib/ecore_wayland/ecore_wl_input.c @@ -232,6 +232,9 @@ ecore_wl_input_cursor_theme_name_set(Ecore_Wl_Input *input, const char *cursor_t if (!input) return; input->cursor_theme_name = cursor_theme_name; + + EINA_SAFETY_ON_NULL_RETURN(input->display->wl.shm); + input->display->cursor_theme = wl_cursor_theme_load(input->cursor_theme_name, input->cursor_size, input->display->wl.shm); --
