From 7534bae61573245944c7577ae16146e915e81e66 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 18 Jun 2024 17:41:46 +0200 Subject: src/: OSK and Magnifier: always keep above other windows, don't use window decoration. Required when running under a window manager such as metacity or marco. --- src/arctica-greeter.vala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index e64e0e3..bd88d44 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -1845,6 +1845,8 @@ public class DBusServer : Object this.pGreeter.pKeyboardWindow.accept_focus = false; this.pGreeter.pKeyboardWindow.focus_on_map = false; this.pGreeter.pKeyboardWindow.set_title("OSK (theme: %s)".printf(sTheme)); + this.pGreeter.pKeyboardWindow.set_decorated (false); + this.pGreeter.pKeyboardWindow.set_keep_above (true); } if ((this.pGreeter.pKeyboardWindow != null) && (pKeyboardSocket != null) && (nId != 0)) @@ -1972,6 +1974,8 @@ public class DBusServer : Object this.pGreeter.pMagnifierWindow.accept_focus = false; this.pGreeter.pMagnifierWindow.focus_on_map = false; this.pGreeter.pMagnifierWindow.set_title ("Magnifier"); + this.pGreeter.pMagnifierWindow.set_decorated (false); + this.pGreeter.pMagnifierWindow.set_keep_above (true); } if ((this.pGreeter.pMagnifierWindow != null) && (pMagnifierSocket != null) && (nId != 0)) -- cgit v1.2.3