Re: [dev] [surf] [patch] Set cookiefile for new windows

2013-07-11 Thread Christoph Lohmann
Greetings. On Fri, 12 Jul 2013 06:52:58 +0200 Jack Murray wrote: > diff --git a/surf.c b/surf.c > index 53dda18..0f9b032 100644 > --- a/surf.c > +++ b/surf.c > @@ -865,6 +865,8 @@ newwindow(Client *c, const Arg *arg, gboolean noembed) { > cmd[i++] = "-s"; > if(showxid) >

Re: [dev] [surf] [patch] Set cookiefile for new windows

2013-07-08 Thread Jack Murray
Oops, that introduces a bug because I forgot to increase the buffer size. Let's try that again: diff --git a/surf.c b/surf.c index 53dda18..939a06f 100644 --- a/surf.c +++ b/surf.c @@ -843,7 +843,7 @@ newclient(void) { static void newwindow(Client *c, const Arg *arg, gboolean noembed) {

[dev] [surf] [patch] Set cookiefile for new windows

2013-07-08 Thread Jack Murray
diff --git a/surf.c b/surf.c index 53dda18..0f9b032 100644 --- a/surf.c +++ b/surf.c @@ -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++] = cookief