URI: 
       Add a variable in config.def.h for configuring spatial browsing. - surf - [fork] surf browser, a WebKit based browser
  HTML git clone git@git.drkhsh.at/surf.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 7c7a3b58cfd096ec546011df316828211adf6631
   DIR parent e75753775ff77bb7c31019ef1dd924e5cc912eb8
  HTML Author: Troels Henriksen <athas@sigkill.dk>
       Date:   Tue, 17 Jan 2012 13:58:04 +0100
       
       Add a variable in config.def.h for configuring spatial browsing.
       Diffstat:
         M config.def.h                        |       1 +
         M surf.c                              |       2 +-
       
       2 files changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git 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`\" &&" \
   DIR diff --git 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);