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 a74651cb53aa0f0cebfea1bd1fd2d361fdcd789f Author: Simon Steinbeiss <simon.steinbe...@elfenbeinturm.at> Date: Wed Jan 15 22:03:14 2020 +0100 compositor: Don't draw shadow on maximized windows Bug: 16381 This can lead to misleading situations, e.g. if you have >1 display and the edge of the next display is blurry/dark for no obvious reason. --- src/compositor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor.c b/src/compositor.c index 1ba6b0d..087dc0e 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -91,6 +91,7 @@ (cw->attr.height + 2 * cw->attr.border_width >= cw->screen_info->height)) #define WIN_IS_SHAPED(cw) ((WIN_HAS_CLIENT(cw) && FLAG_TEST (cw->c->flags, CLIENT_FLAG_HAS_SHAPE)) || \ (WIN_IS_OVERRIDE(cw) && (cw->shaped))) +#define WIN_IS_MAXIMIZED(cw) (WIN_HAS_CLIENT(cw) && FLAG_TEST_ALL (cw->c->flags, CLIENT_FLAG_MAXIMIZED)) #define WIN_IS_VIEWABLE(cw) (cw->viewable) #define WIN_HAS_DAMAGE(cw) (cw->damage) #define WIN_IS_VISIBLE(cw) (WIN_IS_VIEWABLE(cw) && WIN_HAS_DAMAGE(cw)) @@ -1768,6 +1769,7 @@ win_extents (CWindow *cw) !WIN_IS_OVERRIDE(cw) && !WIN_NO_SHADOW(cw) && !WIN_IS_DOCK(cw) && + !WIN_IS_MAXIMIZED(cw) && (WIN_HAS_FRAME(cw) || !(WIN_IS_ARGB(cw) || WIN_IS_SHAPED(cw)))) || (screen_info->params->show_dock_shadow && WIN_IS_DOCK(cw) && -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits