diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2015-03-08 15:09:22 +0100 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2015-03-08 15:09:22 +0100 |
commit | 0e0d852316961a05e63078ff5aa9d411a627c54c (patch) | |
tree | 8cb3493ba3ab414425de10acb047e012860ecf2c | |
parent | a6099bd71a49dda91a35b79451d58838e7b2b68d (diff) | |
download | xfwm4-0e0d852316961a05e63078ff5aa9d411a627c54c.tar.gz |
Fix wrong logic in test
stoopid leftover, really.
Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
-rw-r--r-- | src/workspaces.c | 4 |
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]); |