[Xfce4-commits] [xfce/xfwm4] 01/05: Typo in clientMoveTile

noreply at xfce.org noreply at xfce.org
Sat Mar 31 15:26:37 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       m   a   s   t   e   r   
   in repository xfce/xfwm4.

commit 4ec48e8d52ad5afefb20d00345967a1bcf27a34f
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.
---
 src/moveresize.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/moveresize.c b/src/moveresize.c
index dca000d..ec84c54 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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list