summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-05-26 10:03:39 +0000
committerBenjamin Otte <otte.benjamin@googlemail.com>2022-05-26 11:16:58 +0000
commitcb86f4ae657d79cbbd51eaa7a1dcb6d090b12568 (patch)
treef44dd69df139a9e2e9a72a0c46eeeeea1a1d755d
parent7703aa5cd301f7dcff75db08b4acb2fa9b11c7d3 (diff)
downloadgtk+-cherry-pick-c089912a.tar.gz
Merge branch 'wip/otte/for-main' into 'main'cherry-pick-c089912a
x11: Always update shadow size Closes #4136 See merge request GNOME/gtk!4758 (cherry picked from commit c089912a52dd94d31abe5dd26d1ce27f7b3faa5f) 21349009 x11: Always update shadow size
-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,