diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-09-18 10:35:50 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-09-18 13:00:38 +0200 |
commit | d49e3512f7047c09f0437de2988160e19ff3ee58 (patch) | |
tree | 93b992ca3723eea0134910bac2b985c7edf6d63a /src | |
parent | 72e03f97098259582e055191378f1c47ea34cc6c (diff) | |
download | arctica-greeter-d49e3512f7047c09f0437de2988160e19ff3ee58.tar.gz arctica-greeter-d49e3512f7047c09f0437de2988160e19ff3ee58.tar.bz2 arctica-greeter-d49e3512f7047c09f0437de2988160e19ff3ee58.zip |
src/background.vala: Disable drawing the grid when in high-contrast mode.
Diffstat (limited to 'src')
-rw-r--r-- | src/background.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/background.vala b/src/background.vala index a0a2af1..9602837 100644 --- a/src/background.vala +++ b/src/background.vala @@ -677,7 +677,8 @@ public class Background : Gtk.Fixed c.restore (); - if (DrawFlags.GRID in flags) + var agsettings = new AGSettings(); + if ((DrawFlags.GRID in flags) && (!agsettings.high_contrast)) overlay_grid (c); } |