Keep cookie policies for new windows
Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
parent
7ad886fb0b
commit
4b623bd28a
1 changed files with 3 additions and 1 deletions
4
surf.c
4
surf.c
|
@ -910,11 +910,13 @@ 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[14], *uri;
|
const char *cmd[16], *uri;
|
||||||
const Arg a = { .v = (void *)cmd };
|
const Arg a = { .v = (void *)cmd };
|
||||||
char tmp[64];
|
char tmp[64];
|
||||||
|
|
||||||
cmd[i++] = argv0;
|
cmd[i++] = argv0;
|
||||||
|
cmd[i++] = "-a";
|
||||||
|
cmd[i++] = cookiepolicies;
|
||||||
if(!enablescrollbars)
|
if(!enablescrollbars)
|
||||||
cmd[i++] = "-b";
|
cmd[i++] = "-b";
|
||||||
if(embed && !noembed) {
|
if(embed && !noembed) {
|
||||||
|
|
Loading…
Reference in a new issue