summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-11-16 10:53:30 +0100
committerChristoph Lohmann <20h@r-36.net>2012-11-16 10:53:30 +0100
commitd6bbef74fefaf4f5b9943a821867d99a7200f7ed (patch)
treed2e88bd0fb2b9a46ceeed4ee8a287de7c9278843 /surf.c
parentba452c2e1311dab6f85c8d29c2aea2ae8e063d56 (diff)
downloadsurf-d6bbef74fefaf4f5b9943a821867d99a7200f7ed.tar.gz
surf-d6bbef74fefaf4f5b9943a821867d99a7200f7ed.tar.bz2
surf-d6bbef74fefaf4f5b9943a821867d99a7200f7ed.zip
Moving some preprocessor config options to the standard suckless style.
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/surf.c b/surf.c
index 13f1a3c..ec3bee6 100644
--- a/surf.c
+++ b/surf.c
@@ -615,13 +615,13 @@ newclient(void) {
g_object_set(G_OBJECT(settings), "auto-load-images", loadimage, NULL);
g_object_set(G_OBJECT(settings), "enable-plugins", plugin, NULL);
g_object_set(G_OBJECT(settings), "enable-scripts", script, NULL);
- g_object_set(G_OBJECT(settings), "enable-spatial-navigation", SPATIAL_BROWSING, NULL);
+ g_object_set(G_OBJECT(settings), "enable-spatial-navigation", spatialbrowsing, NULL);
g_free(uri);
setatom(c, AtomFind, "");
setatom(c, AtomUri, "about:blank");
- if(HIDE_BACKGROUND)
+ if(hidebackground)
webkit_web_view_set_transparent(c->view, TRUE);
c->title = NULL;