pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b44a59
)
Setting the cookie file on new instances.
author
Christoph Lohmann
<20h@r-36.net>
Fri, 12 Jul 2013 04:52:37 +0000
(06:52 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Fri, 12 Jul 2013 04:52:37 +0000
(06:52 +0200)
surf.c
patch
|
blob
|
history
diff --git
a/surf.c
b/surf.c
index
53dda18
..
939a06f
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-843,7
+843,7
@@
newclient(void) {
static void
newwindow(Client *c, const Arg *arg, gboolean noembed) {
guint i = 0;
- const char *cmd[1
2
], *uri;
+ const char *cmd[1
4
], *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)