From 127c52ae0e2005bdd90bf133a99234ab523a20b9 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 19 Jun 2024 15:11:07 +0200 Subject: src/arctica-greeter: Reduce \!do_test_mode checks by 1. --- src/arctica-greeter.vala | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 189b246..02a3c37 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -1341,6 +1341,10 @@ public class ArcticaGreeter : Object } } + Pid atspi_pid = 0; + Pid nmapplet_pid = 0; + Pid geoclueagent_pid = 0; + var gsettings_mate_desktop_interface = new Settings ("org.mate.interface"); int wsf_orig = 0; @@ -1353,14 +1357,7 @@ public class ArcticaGreeter : Object debug ("Activating numlock"); activate_numlock (); } - } - Pid atspi_pid = 0; - Pid nmapplet_pid = 0; - Pid geoclueagent_pid = 0; - - if (!do_test_mode) - { wsf_orig = gsettings_mate_desktop_interface.get_int ("window-scaling-factor"); gsettings_mate_desktop_interface.set_int ("window-scaling-factor", 1); -- cgit v1.2.3