[Xfce4-commits] [xfce/xfwm4] 01/01: Fix wrong logic in test

noreply at xfce.org noreply at xfce.org
Sun Mar 8 15:11:13 CET 2015


This is an automated email from the git hooks/post-receive script.

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit 82a8ecd3e58f2aaeb2bf5a117be1537e962cc612
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Sun Mar 8 15:09:22 2015 +0100

    Fix wrong logic in test
    
    stoopid leftover, really.
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/workspaces.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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