diff options
author | Christoph Lohmann <20h@r-36.net> | 2013-07-12 06:52:37 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2013-07-12 06:52:37 +0200 |
commit | 2e978627ddd4d18470b0d49008d9c285ed774c3d (patch) | |
tree | 627e745abf1cf07db6e7bfc1b023f25b523679aa /surf.c | |
parent | 0b44a5948e40ec11396d6771136ec5d6d83b6793 (diff) | |
download | surf-2e978627ddd4d18470b0d49008d9c285ed774c3d.tar.gz surf-2e978627ddd4d18470b0d49008d9c285ed774c3d.tar.bz2 surf-2e978627ddd4d18470b0d49008d9c285ed774c3d.zip |
Setting the cookie file on new instances.
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -843,7 +843,7 @@ newclient(void) { static void newwindow(Client *c, const Arg *arg, gboolean noembed) { guint i = 0; - const char *cmd[12], *uri; + const char *cmd[14], *uri; const Arg a = { .v = (void *)cmd }; char tmp[64]; @@ -865,6 +865,8 @@ newwindow(Client *c, const Arg *arg, gboolean noembed) { cmd[i++] = "-s"; if(showxid) cmd[i++] = "-x"; + cmd[i++] = "-c"; + cmd[i++] = cookiefile; cmd[i++] = "--"; uri = arg->v ? (char *)arg->v : c->linkhover; if(uri) |