mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-29 10:37:39 +00:00
wayland: Always attach null surfaces on hide
Destroying the surface isn't really appropriate, as the GtkWindow is still realized and we won't necessarily know how to reconstruct it.
This commit is contained in:
parent
301d4ee681
commit
1ace4b886d
@ -1101,7 +1101,7 @@ gdk_wayland_window_hide_surface (GdkWindow *window,
|
||||
|
||||
if (impl->surface)
|
||||
{
|
||||
if (impl->use_custom_surface && !is_destroy)
|
||||
if (!is_destroy)
|
||||
{
|
||||
wl_surface_attach (impl->surface, NULL, 0, 0);
|
||||
wl_surface_commit (impl->surface);
|
||||
|
Loading…
Reference in New Issue
Block a user