[Xfce4-commits] [xfce/xfwm4] 02/08: Fix logic error in bottom struts validation

noreply at xfce.org noreply at xfce.org
Fri Jul 27 22:35:07 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 0f7f70f3b3ed0883bdca6989673dbd1cdffdd901
Author: Andrey Alekseenkov <zyx1984 at gmail.com>
Date:   Tue Dec 5 10:55:30 2017 +0100

    Fix logic error in bottom struts validation
    
    Bug: 13964
    (cherry picked from commit b6fa004ea1ad4d7db84730ae5f773cbc4b762eeb)
---
 src/workspaces.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/workspaces.c b/src/workspaces.c
index 1006d6e..9d313e5 100644
--- a/src/workspaces.c
+++ b/src/workspaces.c
@@ -580,7 +580,7 @@ workspaceUpdateArea (ScreenInfo *screen_info)
                                                        c->struts[STRUTS_TOP]);
             }
 
-            if (checkValidStruts (&bottom, &workarea, STRUTS_BOTTOM) ||
+            if (checkValidStruts (&bottom, &workarea, STRUTS_BOTTOM) &&
                 gdk_rectangle_intersect (&bottom, &workarea, NULL))
             {
                 screen_info->margins[STRUTS_BOTTOM] = MAX(screen_info->margins[STRUTS_BOTTOM],

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


More information about the Xfce4-commits mailing list