summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authoruint23 <abhinav.prsai@gmail.com>2025-04-29 18:18:57 +0100
committeruint23 <abhinav.prsai@gmail.com>2025-04-29 18:18:57 +0100
commit77406600c42b4bc45ea061c081da73c564b4cc74 (patch)
treec970c2cb006af9e688b62035140cd9eac670b252 /src/parser.c
parent31e322b52f88e0f803ed4ac4d21c44662d68b3ea (diff)
discard use of macors
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);