summaryrefslogtreecommitdiff
path: root/gdk/x11/gdksurface-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/x11/gdksurface-x11.c')
-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,