placemouse: upgrade to include moveorplace function
parent
9fcfa8d6ce
commit
009b84cbdc
@ -1,5 +1,6 @@
|
|||||||
#define INTERSECTC(x,y,w,h,z) (MAX(0, MIN((x)+(w),(z)->x+(z)->w) - MAX((x),(z)->x)) \
|
#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)))
|
* MAX(0, MIN((y)+(h),(z)->y+(z)->h) - MAX((y),(z)->y)))
|
||||||
|
|
||||||
|
static void moveorplace(const Arg *arg);
|
||||||
static void placemouse(const Arg *arg);
|
static void placemouse(const Arg *arg);
|
||||||
static Client *recttoclient(int x, int y, int w, int h);
|
static Client *recttoclient(int x, int y, int w, int h);
|
||||||
|
Loading…
Reference in New Issue