pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ad886f
)
Keep cookie policies for new windows
author
Quentin Rameau
<quinq.ml@gmail.com>
Wed, 5 Feb 2014 15:58:23 +0000
(16:58 +0100)
committer
Christoph Lohmann
<20h@r-36.net>
Wed, 5 Feb 2014 19:17:26 +0000
(20:17 +0100)
Signed-off-by: Christoph Lohmann <20h@r-36.net>
surf.c
patch
|
blob
|
history
diff --git
a/surf.c
b/surf.c
index
e967672
..
ba01958
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-910,11
+910,13
@@
newclient(void) {
static void
newwindow(Client *c, const Arg *arg, gboolean noembed) {
guint i = 0;
- const char *cmd[1
4
], *uri;
+ const char *cmd[1
6
], *uri;
const Arg a = { .v = (void *)cmd };
char tmp[64];
cmd[i++] = argv0;
+ cmd[i++] = "-a";
+ cmd[i++] = cookiepolicies;
if(!enablescrollbars)
cmd[i++] = "-b";
if(embed && !noembed) {