_elm_win_throttle_ok = EINA_TRUE;
if (sd->resizing) sd->resizing = EINA_FALSE;
#ifdef HAVE_ELEMENTARY_WL2
- ecore_wl2_window_cursor_from_name_set(sd->wl.win, NULL);
+ if (sd->wl.win)
+ ecore_wl2_window_cursor_from_name_set(sd->wl.win, NULL);
ecore_evas_object_cursor_set(sd->ee, sd->pointer.obj,
ELM_OBJECT_LAYER_CURSOR,
if (!sd) return;
#ifdef HAVE_ELEMENTARY_WL2
- ecore_wl2_window_cursor_from_name_set(sd->wl.win, NULL);
+ if (sd->wl.win)
+ ecore_wl2_window_cursor_from_name_set(sd->wl.win, NULL);
if (!strcmp(source, "elm"))
_elm_theme_object_set(sd->obj, sd->pointer.obj,
if (!sd) return;
#ifdef HAVE_ELEMENTARY_WL2
- ecore_wl2_window_cursor_from_name_set(sd->wl.win, NULL);
+ if (sd->wl.win)
+ ecore_wl2_window_cursor_from_name_set(sd->wl.win, NULL);
_elm_theme_object_set(sd->obj, sd->pointer.obj, "pointer", "base", "default");
#endif
}