aboutsummaryrefslogtreecommitdiff
path: root/src/main-window.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-18 13:02:25 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-18 13:02:25 +0200
commitd094aadad1c8ac8317d08e7e1bd1a8cecff41a53 (patch)
tree0e543af55d3cc862d1d7542b8f4b2ce36fcc4ac5 /src/main-window.vala
parent041352dd0df6814b995fe61b7be1965e6b369485 (diff)
downloadarctica-greeter-d094aadad1c8ac8317d08e7e1bd1a8cecff41a53.tar.gz
arctica-greeter-d094aadad1c8ac8317d08e7e1bd1a8cecff41a53.tar.bz2
arctica-greeter-d094aadad1c8ac8317d08e7e1bd1a8cecff41a53.zip
src/main-window.vala: Update struts when monitor setup changed.
Diffstat (limited to 'src/main-window.vala')
-rw-r--r--src/main-window.vala1
1 files changed, 1 insertions, 0 deletions
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)
{