summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-01-18 23:12:05 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-01-19 09:57:43 -0500
commitb9190c7fe931d33c0aebeaa11069f71cc060f526 (patch)
tree0f17b1e2f3d7251a1c8df6d18f2a3de17e8a7595 /gdk
parentfa17e23ce728b8e04702aad75c3404a238faea0c (diff)
downloadgtk+-b9190c7fe931d33c0aebeaa11069f71cc060f526.tar.gz
wayland: Destroy shell surface as we destroy the surface
Diffstat (limited to 'gdk')
-rw-r--r--gdk/wayland/gdkwindow-wayland.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 897c61c412..ba3788c1b9 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);
}
}