wayland: Destroy shell surface as we destroy the surface

This commit is contained in:
Kristian Høgsberg 2012-01-18 23:12:05 -05:00
parent fa17e23ce7
commit b9190c7fe9

View File

@ -810,6 +810,7 @@ gdk_wayland_window_destroy (GdkWindow *window,
{ {
if (GDK_WINDOW_IMPL_WAYLAND (window->impl)->surface) if (GDK_WINDOW_IMPL_WAYLAND (window->impl)->surface)
wl_surface_destroy(GDK_WINDOW_IMPL_WAYLAND (window->impl)->surface); wl_surface_destroy(GDK_WINDOW_IMPL_WAYLAND (window->impl)->surface);
wl_shell_surface_destroy(GDK_WINDOW_IMPL_WAYLAND (window->impl)->shell_surface);
} }
} }