You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dwm-flexipatch/patch/stacker.h

12 lines
434 B
C

#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);