summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.c b/src/parser.c
index 3b7f9b1..b5dc86b 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -159,7 +159,8 @@ handler(char *command, char *arg, int mods, KeySym keysym, Action action,
else if (strcmp(command, "focused_border_colour") == 0) user_config->border_foc_col = parse_col(arg);
else if (strcmp(command, "unfocused_border_colour") == 0) user_config->border_ufoc_col = parse_col(arg);
else if (strcmp(command, "swap_border_colour") == 0) user_config->border_swap_col = parse_col(arg);
- else if (strcmp(command, "master_coverage") == 0) user_config->master_width = atoi(arg);
+ else if (strcmp(command, "master_width") == 0) user_config->master_width = atoi(arg) / 100.0f;
+ else if (strcmp(command, "motion_throttle") == 0) user_config->master_width = atoi(arg);
else if (strcmp(command, "resize_master_amount") == 0) user_config->resize_master_amt = atoi(arg);
else if (strcmp(command, "snap_distance") == 0) user_config->snap_distance = atoi(arg);
else if (strcmp(command, "mod_key") == 0) user_config->modkey = parse_mods(arg, user_config);