[gtk+] wayland: Destroy shell surface as we destroy the surface



commit b9190c7fe931d33c0aebeaa11069f71cc060f526
Author: Kristian HÃgsberg <krh bitplanet net>
Date:   Wed Jan 18 23:12:05 2012 -0500

    wayland: Destroy shell surface as we destroy the surface

 gdk/wayland/gdkwindow-wayland.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 897c61c..ba3788c 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -810,6 +810,7 @@ gdk_wayland_window_destroy (GdkWindow *window,
     {
       if (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);
     }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]