Setting the cookie file on new instances.
This commit is contained in:
parent
0b44a5948e
commit
2e978627dd
4
surf.c
4
surf.c
|
@ -843,7 +843,7 @@ newclient(void) {
|
||||||
static void
|
static void
|
||||||
newwindow(Client *c, const Arg *arg, gboolean noembed) {
|
newwindow(Client *c, const Arg *arg, gboolean noembed) {
|
||||||
guint i = 0;
|
guint i = 0;
|
||||||
const char *cmd[12], *uri;
|
const char *cmd[14], *uri;
|
||||||
const Arg a = { .v = (void *)cmd };
|
const Arg a = { .v = (void *)cmd };
|
||||||
char tmp[64];
|
char tmp[64];
|
||||||
|
|
||||||
|
@ -865,6 +865,8 @@ newwindow(Client *c, const Arg *arg, gboolean noembed) {
|
||||||
cmd[i++] = "-s";
|
cmd[i++] = "-s";
|
||||||
if(showxid)
|
if(showxid)
|
||||||
cmd[i++] = "-x";
|
cmd[i++] = "-x";
|
||||||
|
cmd[i++] = "-c";
|
||||||
|
cmd[i++] = cookiefile;
|
||||||
cmd[i++] = "--";
|
cmd[i++] = "--";
|
||||||
uri = arg->v ? (char *)arg->v : c->linkhover;
|
uri = arg->v ? (char *)arg->v : c->linkhover;
|
||||||
if(uri)
|
if(uri)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user