[hackers] [surf] Add a variable in config.def.h for configuring spatial browsing. || Troels Henriksen

From: <hg_AT_suckless.org>
Date: Tue, 17 Jan 2012 13:57:32 +0100 (CET)

changeset: 234:ac33ab13d1d0
tag: tip
user: Troels Henriksen <athas_AT_sigkill.dk>
date: Tue Jan 17 13:58:04 2012 +0100
files: config.def.h surf.c
description:
Add a variable in config.def.h for configuring spatial browsing.


diff -r 2077a996a720 -r ac33ab13d1d0 config.def.h
--- a/config.def.h Tue Jan 17 13:54:35 2012 +0100
+++ b/config.def.h Tue Jan 17 13:58:04 2012 +0100
_AT_@ -10,6 +10,7 @@
 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 -r 2077a996a720 -r ac33ab13d1d0 surf.c
--- a/surf.c Tue Jan 17 13:54:35 2012 +0100
+++ b/surf.c Tue Jan 17 13:58:04 2012 +0100
_AT_@ -529,7 +529,7 @@
         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);
 
Received on Tue Jan 17 2012 - 13:57:32 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 17 2012 - 14:00:12 CET