diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/arctica-greeter.vala | 1 | ||||
| -rw-r--r-- | src/main-window.vala | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 5fbdce9..30be99a 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -501,6 +501,7 @@ public class ArcticaGreeter : Object main_window.realize (); main_window.setup_window (); main_window.show (); + main_window.set_struts (); main_window.get_window ().focus (Gdk.CURRENT_TIME); try diff --git a/src/main-window.vala b/src/main-window.vala index 9535394..2017f44 100644 --- a/src/main-window.vala +++ b/src/main-window.vala @@ -248,7 +248,6 @@ public class MainWindow : Gtk.Window resize (background.width, background.height); move (0, 0); move_to_monitor (primary_monitor); - set_struts (); } public void set_struts () @@ -352,7 +351,6 @@ public class MainWindow : Gtk.Window debug ("MainWindow is %dx%d pixels", background.width, background.height); background.set_monitors (monitors); - set_struts (); if(do_resize) { @@ -362,6 +360,8 @@ public class MainWindow : Gtk.Window { do_resize = true; } + + set_struts (); } /* Check if a monitor has a unique position */ |
