Paint minimized windows as well when the effect is active
svn path=/trunk/KDE/kdebase/workspace/; revision=739688
This commit is contained in:
parent
f4600f4b3f
commit
dea2e71d4c
1 changed files with 7 additions and 4 deletions
|
@ -56,8 +56,12 @@ void BoxSwitchEffect::prePaintWindow( EffectWindow* w, WindowPrePaintData& data,
|
||||||
{
|
{
|
||||||
if( mMode == TabBoxWindowsMode )
|
if( mMode == TabBoxWindowsMode )
|
||||||
{
|
{
|
||||||
if( windows.contains( w ) && w != selected_window )
|
if( windows.contains( w ))
|
||||||
|
{
|
||||||
|
if( w != selected_window )
|
||||||
data.setTranslucent();
|
data.setTranslucent();
|
||||||
|
w->enablePainting( EffectWindow::PAINT_DISABLED_BY_MINIMIZE );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -308,7 +312,6 @@ void BoxSwitchEffect::setActive()
|
||||||
{
|
{
|
||||||
foreach( EffectWindow* w, windows.keys())
|
foreach( EffectWindow* w, windows.keys())
|
||||||
{
|
{
|
||||||
if( w != selected_window )
|
|
||||||
w->addRepaintFull();
|
w->addRepaintFull();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue