From 28981f6fd3971aaf7ff6527ee1cdeb9d886c4a4a Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sat, 27 Aug 2022 10:15:40 +0200 Subject: Wayland/Libdecor: update from upstream These changes fix issue #474. --- libdecor/src/plugins/gtk/libdecor-gtk.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libdecor/src/plugins/gtk') diff --git a/libdecor/src/plugins/gtk/libdecor-gtk.c b/libdecor/src/plugins/gtk/libdecor-gtk.c index 33d442c41..53cc81339 100644 --- a/libdecor/src/plugins/gtk/libdecor-gtk.c +++ b/libdecor/src/plugins/gtk/libdecor-gtk.c @@ -1728,6 +1728,9 @@ libdecor_plugin_gtk_frame_get_border_size(struct libdecor_plugin *plugin, if (bottom) *bottom = 0; if (top) { + /* Redraw decoration to ensure size will be up-to-date */ + draw_decoration((struct libdecor_frame_gtk *) frame); + GtkWidget *header = ((struct libdecor_frame_gtk *)frame)->header; enum decoration_type type = window_state_to_decoration_type(window_state); -- cgit v1.2.3