From 0e0d852316961a05e63078ff5aa9d411a627c54c Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Sun, 8 Mar 2015 15:09:22 +0100 Subject: Fix wrong logic in test stoopid leftover, really. Signed-off-by: Olivier Fourdan --- src/workspaces.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/workspaces.c b/src/workspaces.c index 546a3f8d9..1006d6ec0 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]); -- cgit v1.2.1