changeset: 200:d9957625b700
tag: tip
user: pancake<nopcode.org>
date: Sun May 09 22:51:26 2010 +0200
files: config.def.h surf.c
description:
Fix NOBACKGROUND meaning
diff -r c62bc5ee120f -r d9957625b700 config.def.h
--- a/config.def.h Sun May 09 22:46:22 2010 +0200
+++ b/config.def.h Sun May 09 22:51:26 2010 +0200
@@ -7,7 +7,7 @@
static char *cookiefile = ".surf/cookies.txt";
static char *dldir = ".surf/dl/";
static time_t sessiontime = 0;
-#define NOBACKGROUND 1
+#define NOBACKGROUND 0
#define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", \
"prop=\"`xprop -id $1 $0 | cut -d '\"' -f 2 | dmenu`\" &&" \
diff -r c62bc5ee120f -r d9957625b700 surf.c
--- a/surf.c Sun May 09 22:46:22 2010 +0200
+++ b/surf.c Sun May 09 22:51:26 2010 +0200
@@ -584,7 +584,7 @@
g_free(uri);
setatom(c, findprop, "");
setatom(c, uriprop, "");
- if(!NOBACKGROUND)
+ if(NOBACKGROUND)
webkit_web_view_set_transparent(c->view, TRUE);
c->download = NULL;
Received on Sun May 09 2010 - 20:57:35 UTC
This archive was generated by hypermail 2.2.0 : Sun May 09 2010 - 21:00:07 UTC