[gtk/cherry-pick-c089912a] Merge branch 'wip/otte/for-main' into 'main'
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/cherry-pick-c089912a] Merge branch 'wip/otte/for-main' into 'main'
- Date: Thu, 26 May 2022 11:17:08 +0000 (UTC)
commit cb86f4ae657d79cbbd51eaa7a1dcb6d090b12568
Author: Matthias Clasen <mclasen redhat com>
Date: Thu May 26 10:03:39 2022 +0000
Merge branch 'wip/otte/for-main' into 'main'
x11: Always update shadow size
Closes #4136
See merge request GNOME/gtk!4758
(cherry picked from commit c089912a52dd94d31abe5dd26d1ce27f7b3faa5f)
21349009 x11: Always update shadow size
gdk/x11/gdksurface-x11.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]