wayland: Don't force a bpp of 24 for desktop windows
plasmashell provides the compositor buffers with an alpha channel and without indicating the opaque region. Given that, kwin forces a bpp of 24 for desktop windows to improve performance. Unfortunately, there are legit cases where plasma may attach a buffer that is not fully opaque, for example when switching between activities. BUG: 423545 BUG: 421237
This commit is contained in:
parent
ecac025a2a
commit
3e1443e003
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ void WaylandClient::doSetActive()
|
|||
|
||||
void WaylandClient::updateDepth()
|
||||
{
|
||||
if (surface()->buffer()->hasAlphaChannel() && !isDesktop()) {
|
||||
if (surface()->buffer()->hasAlphaChannel()) {
|
||||
setDepth(32);
|
||||
} else {
|
||||
setDepth(24);
|
||||
|
|
Loading…
Reference in a new issue