Allowing geo location policy decisions.

This commit is contained in:
Christoph Lohmann
2013-04-28 21:26:56 +02:00
parent d0309a1a22
commit 067c313e6c
3 changed files with 43 additions and 8 deletions
+2
View File
@@ -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 } },
};