Add a variable in config.def.h for configuring spatial browsing.
[surf.git] / surf.c
diff --git a/surf.c b/surf.c
index 6022ca2..a3508bf 100644 (file)
--- 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);