diff options
author | Quentin Rameau <quinq.ml@gmail.com> | 2014-02-05 16:58:23 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2014-02-05 20:17:26 +0100 |
commit | 4b623bd28ae1ffdecdbc62f68b90340311ad5adc (patch) | |
tree | 65ee3bf9c88d5b089d5d2ce6eb0315cbfd21d712 | |
parent | 7ad886fb0b31df6a452d72193b10ee116234ca5e (diff) | |
download | surf-4b623bd28ae1ffdecdbc62f68b90340311ad5adc.tar.gz surf-4b623bd28ae1ffdecdbc62f68b90340311ad5adc.tar.bz2 surf-4b623bd28ae1ffdecdbc62f68b90340311ad5adc.zip |
Keep cookie policies for new windows
Signed-off-by: Christoph Lohmann <20h@r-36.net>
-rw-r--r-- | surf.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) { |