Setting the cookie file on new instances.

This commit is contained in:
Christoph Lohmann 2013-07-12 06:52:37 +02:00
parent 0b44a5948e
commit 2e978627dd

4
surf.c
View file

@ -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)