diff options
| author | uint <72694427+uint23@users.noreply.github.com> | 2025-09-09 14:35:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-09 14:35:47 +0100 |
| commit | 1ad3497b9521e9fe30705212dd62f0ded7fef5e5 (patch) | |
| tree | 8cae3b498b590e9c52fdbdc367a5130a2df0aca5 /src/defs.h | |
| parent | 0114b4c9ab39571225666754fb2f284af5765502 (diff) | |
| parent | bb31e55304ac3a84383ba9bfc6e5de851f2a61b2 (diff) | |
Merge pull request #229 from dehroox/misc_revisions
Small miscellaneous revisions/refactors
Diffstat (limited to 'src/defs.h')
| -rw-r--r-- | src/defs.h | 6 |
1 files changed, 3 insertions, 3 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,8 @@ typedef struct { char **should_float[MAX_ITEMS]; char **start_fullscreen[MAX_ITEMS]; char **can_swallow[MAX_ITEMS]; - char **can_be_swallowed[MAX_ITEMS]; - char **scratchpads[32]; + char **can_be_swallowed[MAX_ITEMS]; + char **scratchpads[MAX_SCRATCHPADS]; char **open_in_workspace[MAX_ITEMS]; char *to_run[MAX_ITEMS]; } Config; |
