summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorCarlos J. Torres <vlaadbrain@gmail.com>2013-02-21 09:59:07 -0500
committerChristoph Lohmann <20h@r-36.net>2013-02-25 13:42:19 +0100
commitfe3bd631d4e163e15ab685c22ad70c67f8b94f83 (patch)
tree540490da05576dde685c8d91d4d70731b9db5057 /config.def.h
parent69004b2ff67c5747e3f03fcffad1192741ea9419 (diff)
downloadsurf-fe3bd631d4e163e15ab685c22ad70c67f8b94f83.tar.gz
surf-fe3bd631d4e163e15ab685c22ad70c67f8b94f83.tar.bz2
surf-fe3bd631d4e163e15ab685c22ad70c67f8b94f83.zip
disable/toggle scrollbars
* add flag to main * add flag to manual * add signal handler to block default scrollbar policy * add toggle of scrollbars (hacky - but no reload) with a twitch * add key map to manual * add commandline flag to children surfers * update TODO * sort stuff alphabetically for the style inquisition Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index bbfb1ed..d9a2be9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -10,6 +10,7 @@ static char *cafile = "/etc/ssl/certs/ca-certificates.crt";
static char *strictssl = FALSE; /* Refuse untrusted SSL connections */
/* Webkit default features */
+static Bool enablescrollbars = TRUE;
static Bool enablespatialbrowsing = TRUE;
static Bool enableplugins = TRUE;
static Bool enablescripts = TRUE;
@@ -84,5 +85,6 @@ static Key keys[] = {
{ MODKEY|GDK_SHIFT_MASK,GDK_s, toggle, { .v = "enable-scripts" } },
{ 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 } },
};