~kris/suckless

dwm

ref: 99a17f8a00f1d4c2de62b1115db338207ddce547 dwm/patch/recttoclient.h -rw-r--r-- 255 bytes
99a17f8a — Kris Yotam Rebind application keys to dmenu scripts and add reading mode layout 7 months ago
                                                                                
1
2
3
4
#define INTERSECTC(X,Y,W,H,Z)   (MAX(0, MIN((X)+(W),(Z)->x+(Z)->w) - MAX((X),(Z)->x)) \
                               * MAX(0, MIN((Y)+(H),(Z)->y+(Z)->h) - MAX((Y),(Z)->y)))

static Client *recttoclient(int x, int y, int w, int h, int include_floating);