summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2022-05-04 03:30:30 +0200
committerQuentin Rameau <quinq@fifth.space>2022-05-04 03:31:58 +0200
commit609ea1c8e620ed38e71bf03a46a759c042e76500 (patch)
tree159eacade4f0a55c05555f5901dba62c054257ec /surf.c
parent38cb1632bf9146490b6e006d4a7a54ba251e9283 (diff)
Do not reload page when toggling dark mode
This change had actually been applied in previous commit d3ee652 by mistake.
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index 010e5e2..474c01b 100644
--- a/surf.c
+++ b/surf.c
@@ -778,7 +778,6 @@ setparameter(Client *c, int refresh, ParamName p, const Arg *a)
g_object_set(gtk_settings_get_default(),
"gtk-application-prefer-dark-theme", a->i, NULL);
return;
- break;
case DiskCache:
webkit_web_context_set_cache_model(c->context, a->i ?
WEBKIT_CACHE_MODEL_WEB_BROWSER :