diff options
| author | bakkeby <[email protected]> | 2020-03-23 12:15:50 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-03-23 12:15:50 +0100 |
| commit | 7bc3cf765e4108f2020b68ecbe212d077156bc88 (patch) | |
| tree | a51bcf5a912ae31a8b0732f3da6bfff85c8352f6 /patch/stacker.h | |
| parent | cd818c14bbee1e6f560414cb8eac70c8f24e8be5 (diff) | |
| download | dwm-flexipatch-7bc3cf765e4108f2020b68ecbe212d077156bc88.tar.gz dwm-flexipatch-7bc3cf765e4108f2020b68ecbe212d077156bc88.zip | |
Adding stacker patch as requested ref. #17
Diffstat (limited to 'patch/stacker.h')
| -rw-r--r-- | patch/stacker.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/patch/stacker.h b/patch/stacker.h new file mode 100644 index 0000000..0a06461 --- /dev/null +++ b/patch/stacker.h @@ -0,0 +1,10 @@ +#define GETINC(X) ((X) - 2000) +#define INC(X) ((X) + 2000) +#define ISINC(X) ((X) > 1000 && (X) < 3000) +#define PREVSEL 3000 +#define MOD(N,M) ((N)%(M) < 0 ? (N)%(M) + (M) : (N)%(M)) +#define TRUNC(X,A,B) (MAX((A), MIN((X), (B)))) + +static void focusstack(const Arg *arg); +static void pushstack(const Arg *arg); +static int stackpos(const Arg *arg);
\ No newline at end of file |
