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

noreply at xfce.org noreply at xfce.org
Sun Mar 8 15:10:41 CET 2015


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

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

commit 0e0d852316961a05e63078ff5aa9d411a627c54c
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