From: Quentin Rameau Date: Wed, 5 Feb 2014 15:58:23 +0000 (+0100) Subject: Keep cookie policies for new windows X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=4b623bd28ae1ffdecdbc62f68b90340311ad5adc;p=surf.git Keep cookie policies for new windows Signed-off-by: Christoph Lohmann <20h@r-36.net> --- diff --git a/surf.c b/surf.c index e967672..ba01958 100644 --- a/surf.c +++ b/surf.c @@ -910,11 +910,13 @@ newclient(void) { static void newwindow(Client *c, const Arg *arg, gboolean noembed) { guint i = 0; - const char *cmd[14], *uri; + const char *cmd[16], *uri; const Arg a = { .v = (void *)cmd }; char tmp[64]; cmd[i++] = argv0; + cmd[i++] = "-a"; + cmd[i++] = cookiepolicies; if(!enablescrollbars) cmd[i++] = "-b"; if(embed && !noembed) {