forked from enlightenment/efl
ecore-wayland: Allow setting input->cursor_size even if we don't have
the shm interface yet @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
9a218f4f20
commit
eefabe1abe
|
@ -215,9 +215,11 @@ 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;
|
||||
|
||||
EINA_SAFETY_ON_NULL_RETURN(input->display->wl.shm);
|
||||
|
||||
input->display->cursor_theme =
|
||||
wl_cursor_theme_load(NULL, input->cursor_size, input->display->wl.shm);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue