summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2017-05-21 13:41:56 +0200
committerQuentin Rameau <quinq@fifth.space>2017-05-22 12:38:49 +0200
commita8bf2068276e27dcbd2919cb72d926b9f4f3882e (patch)
tree80fecb83ce54a493d524020a5ab4b771fe509018 /config.def.h
parenta0ef4ba41d3e43618607f9cf1d14e83ee475f624 (diff)
downloadsurf-a8bf2068276e27dcbd2919cb72d926b9f4f3882e.tar.gz
surf-a8bf2068276e27dcbd2919cb72d926b9f4f3882e.tar.bz2
surf-a8bf2068276e27dcbd2919cb72d926b9f4f3882e.zip
Use priority values instead of “forced” parameters
This makes parameter handling a bit easier and lets the user override parameters as he sees fit.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 9fee024..3c6c913 100644
--- a/config.def.h
+++ b/config.def.h
@@ -8,8 +8,13 @@ static char *cachedir = "~/.surf/cache/";
static char *cookiefile = "~/.surf/cookies.txt";
/* Webkit default features */
+/* Highest priority value will be used.
+ * Default parameters are priority 0
+ * Per-uri parameters are priority 1
+ * Command parameters are priority 2
+ */
static Parameter defconfig[ParameterLast] = {
- /* parameter Arg value force? */
+ /* parameter Arg value priority */
[AcceleratedCanvas] = { { .i = 1 }, },
[AccessMicrophone] = { { .i = 0 }, },
[AccessWebcam] = { { .i = 0 }, },