about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--config.def.h1
-rw-r--r--surf.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index a52fe1c..9917b76 100644
--- a/config.def.h
+++ b/config.def.h
@@ -10,6 +10,7 @@ static time_t sessiontime   = 3600;
 static char *cafile         = "/etc/ssl/certs/ca-certificates.crt";
 static char *strictssl      = FALSE; /* Refuse untrusted SSL connections */
 #define HIDE_BACKGROUND FALSE
+#define SPATIAL_BROWSING TRUE
 
 #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 6022ca2..a3508bf 100644
--- a/surf.c
+++ b/surf.c
@@ -529,7 +529,7 @@ 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", true, NULL);
+	g_object_set(G_OBJECT(settings), "enable-spatial-navigation", SPATIAL_BROWSING, NULL);
 
 	g_free(uri);