From 55072d9876efbefdd3fa3d73cf122e32aa0b981a Mon Sep 17 00:00:00 2001 From: Abhinav Prasai Date: Mon, 6 Oct 2025 18:34:50 +0100 Subject: remove backup_binds --- src/sxwm.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/sxwm.c') diff --git a/src/sxwm.c b/src/sxwm.c index 6debc67..19a97dc 100644 --- a/src/sxwm.c +++ b/src/sxwm.c @@ -195,7 +195,6 @@ int current_ws = 0; int current_mon = 0; Bool global_floating = False; Bool in_ws_switch = False; -Bool backup_binds = False; Bool running = False; Bool next_should_float = False; long last_motion_time = 0; @@ -1574,18 +1573,6 @@ void init_defaults(void) default_config.warp_cursor = True; default_config.new_win_master = False; - /* - if (backup_binds) { - for (unsigned long i = 0; i < LENGTH(binds); i++) { - default_config.binds[i].mods = binds[i].mods; - default_config.binds[i].keysym = binds[i].keysym; - default_config.binds[i].action.cmd = binds[i].action.cmd; - default_config.binds[i].type = binds[i].type; - default_config.n_binds++; - } - } - */ - user_config = default_config; } @@ -3326,7 +3313,6 @@ int main(int ac, char **av) } else if (strcmp(av[1], "-b") == 0 || strcmp(av[1], "--backup") == 0) { puts("sxwm: using backup keybinds"); - backup_binds = True; } else { puts("usage:\n"); -- cgit v1.2.3