From af972916bc8077efd7216000770ed45fb8374882 Mon Sep 17 00:00:00 2001 From: Adam Purkrt Date: Sun, 21 Jan 2018 17:51:37 +0100 Subject: [PATCH] Typo in clientMoveTile Bug: 14181 The comparison is corrected, closing a one pixel gap between TILE_LEFT and TILE_UP_LEFT and between TILE_RIGHT and TILE_UP_RIGHT. --- src/moveresize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moveresize.c b/src/moveresize.c index dca000db..ec84c54a 100644 --- a/src/moveresize.c +++ b/src/moveresize.c @@ -816,7 +816,7 @@ clientMoveTile (Client *c, XfwmEventMotion *event) { /* tile window depending on the mouse position on the screen */ - if ((y > disp_y + dist_corner) && (y < disp_max_y - dist_corner)) + if ((y >= disp_y + dist_corner) && (y < disp_max_y - dist_corner)) { /* mouse pointer on left edge excluding corners */ if (x < disp_x + dist) -- 2.16.0