summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-03-14 03:35:31 +0000
committerMatthias Clasen <mclasen@redhat.com>2020-03-14 03:35:31 +0000
commit60a9e9d342c32dbe45c4ebf7fb2c1aef17557c62 (patch)
tree742aaaf7b12599db56a61b3bdfbe31ff3556b09e
parent33db28c288c86f75c8387fce8bb29019773bf6d5 (diff)
parent8010bc45968668b62a77b5866863c3e077935bef (diff)
downloadgtk+-60a9e9d342c32dbe45c4ebf7fb2c1aef17557c62.tar.gz
Merge branch 'x11-resize' into 'master'
x11: Update surface size for popups too See merge request GNOME/gtk!1525
-rw-r--r--gdk/x11/gdksurface-x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c
index 7276196f63..24de04d00f 100644
--- a/gdk/x11/gdksurface-x11.c
+++ b/gdk/x11/gdksurface-x11.c
@@ -1359,6 +1359,7 @@ x11_surface_resize (GdkSurface *surface,
impl->unscaled_height = height * impl->surface_scale;
surface->width = width;
surface->height = height;
+ _gdk_surface_update_size (surface);
_gdk_x11_surface_update_size (GDK_X11_SURFACE (surface));
}
else