If we destroy wl_surface by ecore_wl_window_hide(),
all of the protocol related wl_surface should be made again when it is shown.
But external libraries doesn't know about state of wl_surface,
Thus, keeping the wl_surface with ecore_wl_window is better.
Change-Id: I6977d761bcbce8bf280abb986fa5ac126c98c63f
if (win->shell_surface) wl_shell_surface_destroy(win->shell_surface);
win->shell_surface = NULL;
-
- if (win->surface) wl_surface_destroy(win->surface);
- win->surface = NULL;
}
EAPI void