Introduction
Introduction Statistics Contact Development Disclaimer Help
trename NOBACKGROUND to HIDE_BACKGROUND and use TRUE/FALSE instead of 0/1 - sur…
git clone git://src.adamsgaard.dk/surf
Log
Files
Refs
README
LICENSE
---
commit 62f54a3745f193223def1c14a19a8581af1c00ed
parent f1299dcfc1608018644ce07bf0a8cc2089e9960d
Author: pancake <unknown>
Date: Thu, 31 Mar 2011 12:52:35 +0200
rename NOBACKGROUND to HIDE_BACKGROUND and use TRUE/FALSE instead of 0/1
Diffstat:
M config.def.h | 2 +-
M surf.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/config.def.h b/config.def.h
t@@ -6,7 +6,7 @@ static char *stylefile = ".surf/style.css";
static char *scriptfile = ".surf/script.js";
static char *cookiefile = ".surf/cookies.txt";
static time_t sessiontime = 3600;
-#define NOBACKGROUND 0
+#define HIDE_BACKGROUND FALSE
#define SETPROP(p, q) { .v = (char *[]){ "/bin/sh", "-c", \
"prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | dmenu`\" &&" \
diff --git a/surf.c b/surf.c
t@@ -507,7 +507,7 @@ newclient(void) {
setatom(c, AtomFind, "");
setatom(c, AtomUri, "about:blank");
- if(NOBACKGROUND)
+ if(HIDE_BACKGROUND)
webkit_web_view_set_transparent(c->view, TRUE);
c->title = NULL;
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.