placemouse: adding options for tiled position being relative to client center
This commit is contained in:
5
patch/placemouse.h
Normal file
5
patch/placemouse.h
Normal file
@@ -0,0 +1,5 @@
|
||||
#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 void placemouse(const Arg *arg);
|
||||
static Client *recttoclient(int x, int y, int w, int h);
|
Reference in New Issue
Block a user