diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2020-12-04 18:39:22 +0100 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2020-12-07 20:37:29 +0100 |
commit | 8396bdb759543442c6bbb9e5b0f4ebd7c26a0fce (patch) | |
tree | cd568fbdd1e47efa0fb72da98288e8729981c580 | |
parent | 351d88f7ae1492048988122b7f0d4a8fc2db9294 (diff) | |
download | gtk+-8396bdb759543442c6bbb9e5b0f4ebd7c26a0fce.tar.gz |
wayland/surface: Reset last sent min/max size when hiding
As with the window geometry, the last sent min/max values must be reset
so they are sent again next time the surface is shown.
-rw-r--r-- | gdk/wayland/gdksurface-wayland.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c index d5e777638c..6ad40c39cd 100644 --- a/gdk/wayland/gdksurface-wayland.c +++ b/gdk/wayland/gdksurface-wayland.c @@ -2958,6 +2958,10 @@ gdk_wayland_surface_hide_surface (GdkSurface *surface) unset_transient_for_exported (surface); impl->last_sent_window_geometry = (GdkRectangle) { 0 }; + impl->last_sent_min_width = 0; + impl->last_sent_min_height = 0; + impl->last_sent_max_width = 0; + impl->last_sent_max_height = 0; _gdk_wayland_surface_clear_saved_size (surface); impl->mapped = FALSE; |