aboutsummaryrefslogtreecommitdiff
path: root/src/background.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-09-18 10:35:50 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-09-18 13:00:38 +0200
commitd49e3512f7047c09f0437de2988160e19ff3ee58 (patch)
tree93b992ca3723eea0134910bac2b985c7edf6d63a /src/background.vala
parent72e03f97098259582e055191378f1c47ea34cc6c (diff)
downloadarctica-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/background.vala')
-rw-r--r--src/background.vala3
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);
}