Do not deep copy the shadow pixmaps
The deep copy does not work with raster as it creates a non-native pixmap. In fact the deep copy is not needed any more as it was a safety check during development when apps using raster could crash kwin.
This commit is contained in:
parent
911b037fe8
commit
3775616a13
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ bool Shadow::init(const QVector< long > &data)
|
|||
if (pix.isNull() || pix.depth() != 32) {
|
||||
return false;
|
||||
}
|
||||
m_shadowElements[i] = pix.copy(0, 0, pix.width(), pix.height());
|
||||
m_shadowElements[i] = pix;
|
||||
}
|
||||
m_topOffset = data[ShadowElementsCount];
|
||||
m_rightOffset = data[ShadowElementsCount+1];
|
||||
|
|
Loading…
Reference in a new issue