From 77406600c42b4bc45ea061c081da73c564b4cc74 Mon Sep 17 00:00:00 2001 From: uint23 Date: Tue, 29 Apr 2025 18:18:57 +0100 Subject: discard use of macors --- src/parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/parser.c') 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); -- cgit v1.2.3