forked from AuroraMiddleware/gtk
wayland: Destroy shell surface as we destroy the surface
This commit is contained in:
parent
fa17e23ce7
commit
b9190c7fe9
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user