X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=config.def.h;h=08ff70721c06b6b63779cb87ae86d4a953977bf8;hp=83b6477730040457fdce4ed7e71863b8f5c5b951;hb=067c313e6ce1ab19116088d7e0b1618080c9b4a7;hpb=d0309a1a226425c1b8086d7b20a6f4e3dcb06872 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 } }, };