pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f1299dc
)
rename NOBACKGROUND to HIDE_BACKGROUND and use TRUE/FALSE instead of 0/1
author
pancake
<unknown>
Thu, 31 Mar 2011 10:52:35 +0000
(12:52 +0200)
committer
pancake
<unknown>
Thu, 31 Mar 2011 10:52:35 +0000
(12:52 +0200)
config.def.h
patch
|
blob
|
history
surf.c
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
3b64d75
..
bea744c
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-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;
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`\" &&" \
#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
index
79ca9c9
..
6dc32ea
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-507,7
+507,7
@@
newclient(void) {
setatom(c, AtomFind, "");
setatom(c, AtomUri, "about:blank");
setatom(c, AtomFind, "");
setatom(c, AtomUri, "about:blank");
- if(
NO
BACKGROUND)
+ if(
HIDE_
BACKGROUND)
webkit_web_view_set_transparent(c->view, TRUE);
c->title = NULL;
webkit_web_view_set_transparent(c->view, TRUE);
c->title = NULL;