Diffusion KWin ec9359f0fb9e

Changed handling of shadow overlap with window content

Authored by hpereiradacosta on Feb 2 2011, 3:36 PM.

Description

Changed handling of shadow overlap with window content

Oxygen::ShadowCache::shadowSize() now returns the shadow extend outside of the window body (the extend)
Overlab between the actual shadow pixmap and the window body is dealt with internally (by creating larger pixmaps)
This allows notably Oxygen::Client to not attempt to draw shadow when shadowSize == 0 (which was never the case
before)

Details

Committed
hpereiradacostaFeb 2 2011, 4:23 PM
Parents
R108:d64ead0daeba: Removed obsolete ShadowCache::Key::useOxygenShadows flag
Branches
Unknown
Tags
Unknown