From aac3361d9946feb6a37f509c4002ee481af7be06 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 18 Jun 2024 09:32:38 +0200 Subject: window manager: Alternatively to metacity, also support marco. --- data/org.ArcticaProject.arctica-greeter.gschema.xml | 1 + src/arctica-greeter.vala | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 @@ + 'metacity' If at all and if yes, which window manager to use. 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 { -- cgit v1.2.3