ecore-wayland should not cause crashes when setting cursor size if display shm is not yet acquired

crash added in c01c8456fe
This commit is contained in:
Mike Blumenkrantz 2014-09-18 11:49:36 -04:00
parent 7fd450e690
commit 9a218f4f20
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ ecore_wl_input_cursor_size_set(Ecore_Wl_Input *input, const int size)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!input) return;
EINA_SAFETY_ON_NULL_RETURN(input->display->wl.shm);
input->cursor_size = size;
input->display->cursor_theme =