summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index 55c7097f6b..1db8ed08ed 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -706,7 +706,7 @@ ecore_wl_window_cursor_from_name_set(Ecore_Wl_Window *win, const char *cursor_na
706 706
707 eina_stringshare_replace(&win->cursor_name, cursor_name); 707 eina_stringshare_replace(&win->cursor_name, cursor_name);
708 708
709 if (strcmp(input->cursor_name, win->cursor_name)) 709 if ((input->cursor_name) && (strcmp(input->cursor_name, win->cursor_name)))
710 ecore_wl_input_cursor_from_name_set(input, cursor_name); 710 ecore_wl_input_cursor_from_name_set(input, cursor_name);
711} 711}
712 712