[hackers] [surf] Setting the cookie file on new instances. || Christoph Lohmann
commit 2e978627ddd4d18470b0d49008d9c285ed774c3d
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Fri Jul 12 06:52:37 2013 +0200
Setting the cookie file on new instances.
diff --git a/surf.c b/surf.c
index 53dda18..939a06f 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -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];
_AT_@ -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)
Received on Fri Jul 12 2013 - 06:54:34 CEST
This archive was generated by hypermail 2.3.0
: Fri Jul 12 2013 - 07:00:31 CEST