[Xfce4-commits] [xfce/xfwm4] 03/05: Fix logic error in bottom struts validation
noreply at xfce.org
noreply at xfce.org
Wed Dec 6 09:55:50 CET 2017
This is an automated email from the git hooks/post-receive script.
o l i v i e r p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfwm4.
commit b6fa004ea1ad4d7db84730ae5f773cbc4b762eeb
Author: Andrey Alekseenkov <zyx1984 at gmail.com>
Date: Tue Dec 5 10:55:30 2017 +0100
Fix logic error in bottom struts validation
Bug: 13964
---
src/workspaces.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/workspaces.c b/src/workspaces.c
index 62c3702..ec85eb2 100644
--- a/src/workspaces.c
+++ b/src/workspaces.c
@@ -582,7 +582,7 @@ workspaceUpdateArea (ScreenInfo *screen_info)
c->struts[STRUTS_TOP]);
}
- if (checkValidStruts (&bottom, &workarea, STRUTS_BOTTOM) ||
+ if (checkValidStruts (&bottom, &workarea, STRUTS_BOTTOM) &&
gdk_rectangle_intersect (&bottom, &workarea, NULL))
{
screen_info->margins[STRUTS_BOTTOM] = MAX(screen_info->margins[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