X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=08ff70721c06b6b63779cb87ae86d4a953977bf8;hb=ffaf10bd8f8a965a6b49b66178fec2f3e9843b4f;hp=83b6477730040457fdce4ed7e71863b8f5c5b951;hpb=083ea8ecde50314cca961c7596a7ab43fc90223e;p=surf.git diff --git a/config.def.h b/config.def.h index 83b6477..08ff707 100644 --- a/config.def.h +++ b/config.def.h @@ -21,6 +21,7 @@ static Bool enablescripts = TRUE; static Bool enableinspector = TRUE; static Bool loadimages = TRUE; static Bool hidebackground = FALSE; +static Bool allowgeolocation = TRUE; #define SETPROP(p, q) { \ .v = (char *[]){ "/bin/sh", "-c", \ @@ -90,5 +91,6 @@ static Key keys[] = { { MODKEY|GDK_SHIFT_MASK,GDK_v, toggle, { .v = "enable-plugins" } }, { MODKEY|GDK_SHIFT_MASK,GDK_m, togglestyle,{ 0 } }, { MODKEY|GDK_SHIFT_MASK,GDK_b, togglescrollbars,{ 0 } }, + { MODKEY|GDK_SHIFT_MASK,GDK_g, togglegeolocation, { 0 } }, };