Re: [dev] Surf update

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Fri, 26 May 2017 15:18:20 +0200

hi jochen,

> try the attached patch.
>
> from 2b804da35568f957062b75506d1f1d5eb76b1b19 mon sep 17 00:00:00 2001
> from: jochen sprickerhof <git_AT_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
> _AT_@ -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);
> +
> +

No, the issue is that the patch quoted in the previous reply prevented
to apply already applied parameters.
But the custom stylsheet parameter actually needs to be applied on
every (new) uri load.

> loaduri(c, &arg);
> updatetitle(c);
>
> --

I'll push the fix soon.
Received on Fri May 26 2017 - 15:18:20 CEST

This archive was generated by hypermail 2.3.0 : Fri May 26 2017 - 15:24:13 CEST