kwin: fixing xrender shadow bug
This fixes a xrender shadow bug, which was introduced in commmit 7a8398f80ec0aa67ed1102cded2bbb45d7736ecb. Many thx to Jacopo De Simoi.
This commit is contained in:
parent
e7b997fcc2
commit
55a75da893
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ void SceneXrender::Window::performPaint(int mask, QRegion region, WindowPaintDat
|
||||||
PaintClipper pcreg(region); // clip by the region to paint
|
PaintClipper pcreg(region); // clip by the region to paint
|
||||||
PaintClipper pc(transformed_shape); // clip by window's shape
|
PaintClipper pc(transformed_shape); // clip by window's shape
|
||||||
|
|
||||||
const bool wantShadow = m_shadow && !m_shadow->shadowRegion().isEmpty() && isOpaque();
|
const bool wantShadow = m_shadow && !m_shadow->shadowRegion().isEmpty();
|
||||||
|
|
||||||
// In order to obtain a pixel perfect rescaling
|
// In order to obtain a pixel perfect rescaling
|
||||||
// we need to blit the window content togheter with
|
// we need to blit the window content togheter with
|
||||||
|
|
Loading…
Reference in a new issue