Hide the desktop windows from other virtual desktops in presentwindows. That can happen when option activity per desktop is set.
BUG: 212065 svn path=/trunk/KDE/kdebase/workspace/; revision=1042342
This commit is contained in:
parent
58cee32800
commit
e001fdff33
1 changed files with 4 additions and 0 deletions
|
@ -281,6 +281,10 @@ void PresentWindowsEffect::prePaintWindow( EffectWindow *w, WindowPrePaintData &
|
|||
w->enablePainting( EffectWindow::PAINT_DISABLED_BY_DELETE );
|
||||
}
|
||||
|
||||
// desktop windows on other desktops (Plasma activity per desktop) should not be painted
|
||||
if( w->isDesktop() && !w->isOnCurrentDesktop() )
|
||||
w->disablePainting( EffectWindow::PAINT_DISABLED_BY_DESKTOP );
|
||||
|
||||
if( m_motionManager.isManaging( w ))
|
||||
data.setTransformed(); // We will be moving this window
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue