Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix dark mode parameter application - surf - surf browser, a WebKit based brows…
git clone git://git.suckless.org/surf
Log
Files
Refs
README
LICENSE
---
commit 38cb1632bf9146490b6e006d4a7a54ba251e9283
parent d3ee6528607d460b61870e69310e732992962073
Author: Quentin Rameau <[email protected]>
Date: Sun, 10 Apr 2022 18:44:28 +0200
Fix dark mode parameter application
Diffstat:
M surf.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/surf.c b/surf.c
@@ -262,7 +262,6 @@ char *argv0;
static ParamName loadtransient[] = {
Certificate,
CookiePolicies,
- DarkMode,
DiskCache,
DNSPrefetch,
FileURLsCrossAccess,
@@ -278,6 +277,7 @@ static ParamName loadcommitted[] = {
// AccessMicrophone,
// AccessWebcam,
CaretBrowsing,
+ DarkMode,
DefaultCharset,
FontSize,
FrameFlattening,
@@ -1231,6 +1231,8 @@ newview(Client *c, WebKitWebView *rv)
c->context = context;
c->settings = settings;
+ setparameter(c, 0, DarkMode, &curconfig[DarkMode].val);
+
return v;
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.