Hi Kajetan,

* Kajetan Jasztal <kajetanjasz...@gmail.com> [2017-05-26 14:19]:
> In both - surf (with webkit1) and surf-webkit2 there wasn't the issue
> with style,
> but after switch of surf-webkit2 to surf something changed and style
> is not working on start (besides flag being on), to make it work flag
> has to be turned off and on again.

Try the attached patch.
From 2b804da35568f957062b75506d1f1d5eb76b1b19 Mon Sep 17 00:00:00 2001
From: Jochen Sprickerhof <g...@jochen.sprickerhof.de>
Date: Thu, 25 May 2017 13:16:55 +0200
Subject: [PATCH] set config upon start

---
 surf.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/surf.c b/surf.c
index 732c6a1..7afdd51 100644
--- a/surf.c
+++ b/surf.c
@@ -2254,6 +2254,10 @@ main(int argc, char *argv[])
 	c = newclient(NULL);
 	showview(NULL, c);
 
+	for (int i = 0; i < ParameterLast; ++i)
+		setparameter(c, 0, i, &curconfig[i].val);
+
+
 	loaduri(c, &arg);
 	updatetitle(c);
 
-- 
2.11.0

Attachment: signature.asc
Description: PGP signature

Reply via email to