summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/workspaces.c4
1 files 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]);