summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index 0c48718770..f12d73230c 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -702,10 +702,11 @@ ecore_wl2_window_hide(Ecore_Wl2_Window *window)
702 window->configure_ack = NULL; 702 window->configure_ack = NULL;
703} 703}
704 704
705void 705static void
706_ecore_wl_window_aux_hint_free(Ecore_Wl2_Window *win) 706_ecore_wl2_window_aux_hint_free(Ecore_Wl2_Window *win)
707{ 707{
708 const char *supported; 708 const char *supported;
709
709 EINA_LIST_FREE(win->supported_aux_hints, supported) 710 EINA_LIST_FREE(win->supported_aux_hints, supported)
710 if (supported) eina_stringshare_del(supported); 711 if (supported) eina_stringshare_del(supported);
711} 712}
@@ -728,7 +729,7 @@ ecore_wl2_window_free(Ecore_Wl2_Window *window)
728 EINA_INLIST_FOREACH_SAFE(window->subsurfs, tmp, subsurf) 729 EINA_INLIST_FOREACH_SAFE(window->subsurfs, tmp, subsurf)
729 _ecore_wl2_subsurf_free(subsurf); 730 _ecore_wl2_subsurf_free(subsurf);
730 731
731 _ecore_wl_window_aux_hint_free(window); 732 _ecore_wl2_window_aux_hint_free(window);
732 733
733 if (window->uuid && window->surface && window->display->wl.session_recovery) 734 if (window->uuid && window->surface && window->display->wl.session_recovery)
734 zwp_e_session_recovery_destroy_uuid(window->display->wl.session_recovery, 735 zwp_e_session_recovery_destroy_uuid(window->display->wl.session_recovery,