From d094aadad1c8ac8317d08e7e1bd1a8cecff41a53 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 18 Jun 2024 13:02:25 +0200 Subject: src/main-window.vala: Update struts when monitor setup changed. --- src/main-window.vala | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main-window.vala b/src/main-window.vala index 8d841e8..6fc1259 100644 --- a/src/main-window.vala +++ b/src/main-window.vala @@ -346,6 +346,7 @@ public class MainWindow : Gtk.Window debug ("MainWindow is %dx%d pixels", background.width, background.height); background.set_monitors (monitors); + set_struts (this, MenubarPositions.TOP, ArcticaGreeter.MENUBAR_HEIGHT); if(do_resize) { -- cgit v1.2.3