aboutsummaryrefslogtreecommitdiff
path: root/src/arctica-greeter.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-19 15:11:07 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-19 22:57:57 +0200
commit127c52ae0e2005bdd90bf133a99234ab523a20b9 (patch)
tree65379fb875d65251099149c177bcc3790a58c1a3 /src/arctica-greeter.vala
parentd75bd38a4acd6eab8796b27e5ab2aa1ea5865695 (diff)
downloadarctica-greeter-127c52ae0e2005bdd90bf133a99234ab523a20b9.tar.gz
arctica-greeter-127c52ae0e2005bdd90bf133a99234ab523a20b9.tar.bz2
arctica-greeter-127c52ae0e2005bdd90bf133a99234ab523a20b9.zip
src/arctica-greeter: Reduce \!do_test_mode checks by 1.
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r--src/arctica-greeter.vala11
1 files 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);