diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-06-18 08:41:54 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-06-18 08:48:32 +0200 |
commit | 275703604d44fff336f631f93e7a47bb3a3b09fd (patch) | |
tree | 75590ea48ad9d8fc265636d374ce1e54c3508f02 /src/arctica-greeter.vala | |
parent | 816fdaec458028f23f249db355539392b661d16a (diff) | |
download | arctica-greeter-275703604d44fff336f631f93e7a47bb3a3b09fd.tar.gz arctica-greeter-275703604d44fff336f631f93e7a47bb3a3b09fd.tar.bz2 arctica-greeter-275703604d44fff336f631f93e7a47bb3a3b09fd.zip |
src/: Set _NET_WM_STRUT{,_PARTIAL} so that notification bubbles don't overlay the menubar.
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r-- | src/arctica-greeter.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 119f3af..426149d 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -35,6 +35,10 @@ public class ArcticaGreeter : Object public Gtk.Window? pMagnifierWindow { get; set; default = null; } public bool test_mode { get; construct; default = false; } public bool test_highcontrast { get; construct; default = false; } + + // Menubar is smaller, but with shadow, we reserve more space + public const int MENUBAR_HEIGHT = 40; + private string state_file; private KeyFile state; private DBusServer pServer; |