[Xfce4-commits] [xfce/xfwm4] 05/08: Typo in clientMoveTile
noreply at xfce.org
noreply at xfce.org
Fri Jul 27 22:35:10 CEST 2018
This is an automated email from the git hooks/post-receive script.
o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 2
in repository xfce/xfwm4.
commit 020b0722b0d83e43ee295486ddffca504283f56a
Author: Adam Purkrt <adam at purkrt.net>
Date: Sun Jan 21 17:51:37 2018 +0100
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)
---
src/moveresize.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/moveresize.c b/src/moveresize.c
index b15d8ab..f0c1b4c 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)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list