Moving some preprocessor config options to the standard suckless style.
[surf.git] / config.def.h
index 6f58da7..0a16f3e 100644 (file)
@@ -13,9 +13,8 @@ static time_t sessiontime   = 3600;
 static char *cafile         = "/etc/ssl/certs/ca-certificates.crt";
 static char *strictssl      = FALSE; /* Refuse untrusted SSL connections */
 static int   indicator_thickness = 2;
-
-#define HIDE_BACKGROUND FALSE
-#define SPATIAL_BROWSING TRUE
+static Bool spatialbrowsing = TRUE;
+static Bool hidebackground  = FALSE;
 
 #define SETPROP(p, q)     { .v = (char *[]){ "/bin/sh", "-c", \
        "prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | dmenu`\" &&" \
@@ -43,7 +42,6 @@ static Key keys[] = {
     { MODKEY,               GDK_k,           scroll_v,   { .i = -1 } },
     { MODKEY,               GDK_b,           scroll_v,   { .i = -10000 } },
     { MODKEY,               GDK_space,       scroll_v,   { .i = +10000 } },
-    { 0,                    GDK_i,      insert,     { 0 } },
     { MODKEY,               GDK_i,           scroll_h,   { .i = +1 } },
     { MODKEY,               GDK_u,           scroll_h,   { .i = -1 } },
     { 0,                    GDK_Escape, stop,       { 0 } },