aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-18 09:32:38 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-18 09:32:38 +0200
commitaac3361d9946feb6a37f509c4002ee481af7be06 (patch)
tree220223b8d40307d09a1fbdfd0051164fd38bbc71
parentb094a119ab88a6799c5baf6e2f23e98121c8527c (diff)
downloadarctica-greeter-aac3361d9946feb6a37f509c4002ee481af7be06.tar.gz
arctica-greeter-aac3361d9946feb6a37f509c4002ee481af7be06.tar.bz2
arctica-greeter-aac3361d9946feb6a37f509c4002ee481af7be06.zip
window manager: Alternatively to metacity, also support marco.
-rw-r--r--data/org.ArcticaProject.arctica-greeter.gschema.xml1
-rw-r--r--src/arctica-greeter.vala2
2 files changed, 2 insertions, 1 deletions
diff --git a/data/org.ArcticaProject.arctica-greeter.gschema.xml b/data/org.ArcticaProject.arctica-greeter.gschema.xml
index 2546206..9833f8c 100644
--- a/data/org.ArcticaProject.arctica-greeter.gschema.xml
+++ b/data/org.ArcticaProject.arctica-greeter.gschema.xml
@@ -121,6 +121,7 @@
<choices>
<choice value='none'/>
<choice value='metacity'/>
+ <choice value='marco'/>
</choices>
<default>'metacity'</default>
<summary>If at all and if yes, which window manager to use.</summary>
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index 2155b19..d6b6118 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -1427,7 +1427,7 @@ public class ArcticaGreeter : Object
activate_upower();
string wm = AGSettings.get_string (AGSettings.KEY_WINDOW_MANAGER);
- if (wm == "metacity")
+ if ((wm == "metacity") || (wm == "marco"))
{
try
{