summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-05-26 10:03:39 +0000
committerMatthias Clasen <mclasen@redhat.com>2022-05-26 10:03:39 +0000
commitc089912a52dd94d31abe5dd26d1ce27f7b3faa5f (patch)
tree51031a09918467c28fcb769d5491563c5307f523
parent166af489049646a8f1d0ffe3fa3ca7d714c66e68 (diff)
parent213490099b7d24664ac635f25c9cf224d6a3e702 (diff)
downloadgtk+-c089912a52dd94d31abe5dd26d1ce27f7b3faa5f.tar.gz
Merge branch 'wip/otte/for-main' into 'main'
x11: Always update shadow size Closes #4136 See merge request GNOME/gtk!4758
-rw-r--r--gdk/x11/gdksurface-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c
index 8567d83eb8..fb3b0bd7df 100644
--- a/gdk/x11/gdksurface-x11.c
+++ b/gdk/x11/gdksurface-x11.c
@@ -280,7 +280,7 @@ compute_toplevel_size (GdkSurface *surface,
gdk_toplevel_size_init (&size, bounds_width, bounds_height);
gdk_toplevel_notify_compute_size (GDK_TOPLEVEL (surface), &size);
- if (size.shadow.is_valid && update_geometry)
+ if (size.shadow.is_valid)
{
update_shadow_size (surface,
size.shadow.left,