summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index 696b3a4..010e5e2 100644
--- 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;
}