Introduction
Introduction Statistics Contact Development Disclaimer Help
tSetting the cookie file on new instances. - surf - customized build of surf, t…
git clone git://src.adamsgaard.dk/surf
Log
Files
Refs
README
LICENSE
---
commit 2e978627ddd4d18470b0d49008d9c285ed774c3d
parent 0b44a5948e40ec11396d6771136ec5d6d83b6793
Author: Christoph Lohmann <[email protected]>
Date: Fri, 12 Jul 2013 06:52:37 +0200
Setting the cookie file on new instances.
Diffstat:
M surf.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/surf.c b/surf.c
t@@ -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];
t@@ -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)
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.