From 2f199b5ad84adda4a8b7d72b78529d68ec037786 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 13 Dec 2013 22:39:13 +0000 Subject: Teach screen_find_xinerama() to apply gap only when told to do so; adjust callers. Needed for an upcoming feature. --- mousefunc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mousefunc.c') diff --git a/mousefunc.c b/mousefunc.c index 18d0a4c..4d974eb 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: mousefunc.c,v 1.63 2013/12/13 21:51:56 okan Exp $ + * $OpenBSD: mousefunc.c,v 1.64 2013/12/13 22:39:13 okan Exp $ */ #include @@ -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); -- cgit v1.2.3-2-gb3c3