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:
okan
2013-12-13 22:39:13 +00:00
parent 5732b65139
commit f98f4615c0
6 changed files with 25 additions and 15 deletions

View File

@ -148,7 +148,7 @@ mousefunc_client_move(struct client_ctx *cc, void *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);