diff options
author | Martin Wimpress <[email protected]> | 2014-10-21 16:32:10 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-10-22 08:53:52 +0200 |
commit | a85010e3060ac3852a16afb8803102d5c1702758 (patch) | |
tree | a85dbbcb12b284a72f3d43f30000958d40570763 /src | |
parent | c2cbcaa90d88d3d74dc7b79cae17964f4243a51d (diff) | |
download | marco-a85010e3060ac3852a16afb8803102d5c1702758.tar.bz2 marco-a85010e3060ac3852a16afb8803102d5c1702758.tar.xz |
compositor-xrender: don't add shadows to ARGB windows
Diffstat (limited to 'src')
-rw-r--r-- | src/compositor/compositor-xrender.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c index 6294e9d7..2eff8830 100644 --- a/src/compositor/compositor-xrender.c +++ b/src/compositor/compositor-xrender.c @@ -911,6 +911,12 @@ window_has_shadow (MetaCompWindow *cw) } } + /* Do not add shadows to ARGB windows */ + if (cw->mode == WINDOW_ARGB) { + meta_verbose ("Window has no shadow as it is ARGB\n"); + return FALSE; + } + /* Never put a shadow around shaped windows */ if (cw->shaped) { meta_verbose ("Window has no shadow as it is shaped\n"); |