mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Teach screen_find_xinerama() to apply gap only when told to do so;
adjust callers. Needed for an upcoming feature.
This commit is contained in:
2
kbfunc.c
2
kbfunc.c
@@ -102,7 +102,7 @@ kbfunc_client_moveresize(struct client_ctx *cc, union arg *arg)
|
||||
|
||||
xine = screen_find_xinerama(sc,
|
||||
cc->geom.x + cc->geom.w / 2,
|
||||
cc->geom.y + cc->geom.h / 2);
|
||||
cc->geom.y + cc->geom.h / 2, CWM_GAP);
|
||||
cc->geom.x += client_snapcalc(cc->geom.x,
|
||||
cc->geom.x + cc->geom.w + (cc->bwidth * 2),
|
||||
xine.x, xine.x + xine.w, sc->snapdist);
|
||||
|
||||
Reference in New Issue
Block a user