diff options
author | Adam Purkrt <adam@purkrt.net> | 2018-01-21 17:51:37 +0100 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2018-07-26 17:43:29 +0200 |
commit | 020b0722b0d83e43ee295486ddffca504283f56a (patch) | |
tree | b188bca541b4ba2dbe018f4f0488bee07b3f139d | |
parent | 13b6fceb41e6275193939eb63431ef712d5a76ca (diff) | |
download | xfwm4-020b0722b0d83e43ee295486ddffca504283f56a.tar.gz |
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.
(cherry picked from commit 4ec48e8d52ad5afefb20d00345967a1bcf27a34f)
-rw-r--r-- | src/moveresize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/moveresize.c b/src/moveresize.c index b15d8ab20..f0c1b4ccd 100644 --- a/src/moveresize.c +++ b/src/moveresize.c @@ -813,7 +813,7 @@ clientMoveTile (Client *c, XMotionEvent *xevent) { /* 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) |