diff options
author | okan <okan> | 2013-12-13 22:39:13 +0000 |
---|---|---|
committer | okan <okan> | 2013-12-13 22:39:13 +0000 |
commit | f98f4615c0bf2fbf3f6229ccb9cb46284f3dd18a (patch) | |
tree | 27fe01cb5d60eab42a16cca67c4444829577556b /kbfunc.c | |
parent | 5732b65139493570e331fbc298eb6920f0878e5f (diff) | |
download | cwm-f98f4615c0bf2fbf3f6229ccb9cb46284f3dd18a.tar.gz cwm-f98f4615c0bf2fbf3f6229ccb9cb46284f3dd18a.tar.xz cwm-f98f4615c0bf2fbf3f6229ccb9cb46284f3dd18a.zip |
Teach screen_find_xinerama() to apply gap only when told to do so;
adjust callers. Needed for an upcoming feature.
Diffstat (limited to 'kbfunc.c')
-rw-r--r-- | kbfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kbfunc.c b/kbfunc.c index 9b4e6f2..351366e 100644 --- a/kbfunc.c +++ b/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); |