aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-18 17:40:52 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-18 17:40:52 +0200
commit24da94512694db2a263a121f0a9c5fb32e7ca35c (patch)
treec363600242073a13c4ea85db9d9d0a5eb8a13fc5 /src
parent1d49f96dc437cb04c8195ec2c5e7dcef120adf0a (diff)
downloadarctica-greeter-24da94512694db2a263a121f0a9c5fb32e7ca35c.tar.gz
arctica-greeter-24da94512694db2a263a121f0a9c5fb32e7ca35c.tar.bz2
arctica-greeter-24da94512694db2a263a121f0a9c5fb32e7ca35c.zip
src/: On every toggle/enable resize/reposition the OSK. Required when running under a window manager such as metacity or marco.
Diffstat (limited to 'src')
-rw-r--r--src/arctica-greeter.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index 875d487..e64e0e3 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -1855,7 +1855,10 @@ public class DBusServer : Object
debug ("Attaching new onboard process to OSK Gtk.Socket (+ Gtk.Window)");
pKeyboardSocket.add_id (nId);
+ }
+ if ((this.pGreeter.pKeyboardWindow != null) && (pKeyboardSocket != null) && bActive)
+ {
/* resize the keyboard window to cover the lower part of the screen */
debug ("Resizing OSK window.");
var pDisplay = this.pGreeter.main_window.get_display ();