stacker.h (434B)
1 #define GETINC(X) ((X) - 2000) 2 #define INC(X) ((X) + 2000) 3 #define ISINC(X) ((X) > 1000 && (X) < 3000) 4 #define PREVSEL 3000 5 #define MOD(N,M) ((N)%(M) < 0 ? (N)%(M) + (M) : (N)%(M)) 6 #define TRUNC(X,A,B) (MAX((A), MIN((X), (B)))) 7 8 static void focusstack(const Arg *arg); 9 static void pushstack(const Arg *arg); 10 static int stackpos(const Arg *arg); 11