diff options
| author | dehroox <dehrexd@gmail.com> | 2025-09-01 14:20:16 +0800 |
|---|---|---|
| committer | dehroox <dehrexd@gmail.com> | 2025-09-02 21:06:18 +0800 |
| commit | ce23bbbe89cb8637765b00b86addee6ca291caef (patch) | |
| tree | 9c13189ff1c722ad86bee41b107857c6deaba7ea | |
| parent | fa0ebcc32b23673ae1f4bf786fbf2b23f539823b (diff) | |
replace random 20 (???) with MAX_SCRATCHPADS
| -rw-r--r-- | src/defs.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -20,7 +20,7 @@ #define UDIST(a, b) abs((int)(a) - (int)(b)) #define CLAMP(x, lo, hi) (((x) < (lo)) ? (lo) : ((x) > (hi)) ? (hi) : (x)) #define MAX_CLIENTS 99 -#define MAX_SCRATCHPADS 20 +#define MAX_SCRATCHPADS 32 #define MIN_WINDOW_SIZE 20 #define MAX_ITEMS 256 #define BIND(mod, key, cmdstr) {(mod), XK_##key, {cmdstr}, False} @@ -108,8 +108,13 @@ typedef struct { char **should_float[MAX_ITEMS]; char **start_fullscreen[MAX_ITEMS]; char **can_swallow[MAX_ITEMS]; +<<<<<<< HEAD char **can_be_swallowed[MAX_ITEMS]; char **scratchpads[32]; +======= + char **can_be_swallowed[MAX_ITEMS]; + char **scratchpads[MAX_SCRATCHPADS]; +>>>>>>> e770299 (replace random 20 (???) with MAX_SCRATCHPADS) char **open_in_workspace[MAX_ITEMS]; char *to_run[MAX_ITEMS]; } Config; |
