diff options
| author | Quentin Rameau <quinq@fifth.space> | 2022-04-10 18:44:28 +0200 |
|---|---|---|
| committer | Quentin Rameau <quinq@fifth.space> | 2022-04-10 18:50:02 +0200 |
| commit | 38cb1632bf9146490b6e006d4a7a54ba251e9283 (patch) | |
| tree | 2229d67e8f6a66425a9fce199e779e5681462262 | |
| parent | d3ee6528607d460b61870e69310e732992962073 (diff) | |
Fix dark mode parameter application
| -rw-r--r-- | surf.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; } |
