kwo pushed a commit to branch master. http://git.enlightenment.org/e16/e16.git/commit/?id=49c4ddcb5eaffacc999babdf04452d27a288aef4
commit 49c4ddcb5eaffacc999babdf04452d27a288aef4 Author: Kim Woelders <k...@woelders.dk> Date: Sun Apr 3 17:05:24 2022 +0200 CM: Adjust shadowing conditions some more Regular clients: - Disable if fullscreen - Disable if *client* is shaped (<- changed with this commit) Now shaped border themes like winter again can have shadows like before the previous fix (a41b2209). Override-redirect: - Disable if shaped --- src/eobj.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/eobj.c b/src/eobj.c index dd17d31e..e17f2dfd 100644 --- a/src/eobj.c +++ b/src/eobj.c @@ -168,16 +168,18 @@ EobjShadowOk(const EObj * eo) { if (!eo->shadow) return 0; /* Shadow disabled by configuration */ - if (eo->shaped) - return 0; /* Shadow disabled if shaped */ switch (eo->type) { default: + if (eo->shaped) + return 0; /* Shadow disabled if shaped */ break; case EOBJ_TYPE_EWIN: if (((EWin *) eo)->state.fullscreen) return 0; /* Shadow disabled if fullscreen */ + if (((EWin *) eo)->state.shaped) + return 0; /* Shadow disabled if client is shaped */ } return 1; --