void Client::setShade( bool s, int hus ):
+ if(!hus) + info->setState( shaded?NET::Shaded:0, NET::Shaded ); Actually tell the world that the client got (un)shaded. svn path=/trunk/kdebase/kwin/; revision=78158icc-effect-5.14.5
parent
ef97333d15
commit
684fa4983f
|
@ -2119,6 +2119,7 @@ void Client::setShade( bool s, int hus )
|
|||
|
||||
shaded = s;
|
||||
|
||||
|
||||
if ( isVisible() )
|
||||
Events::raise( s ? Events::ShadeDown : Events::ShadeUp );
|
||||
|
||||
|
@ -2167,6 +2168,9 @@ void Client::setShade( bool s, int hus )
|
|||
workspace()->requestFocus( this );
|
||||
}
|
||||
|
||||
if(!hus)
|
||||
info->setState( shaded?NET::Shaded:0, NET::Shaded );
|
||||
|
||||
workspace()->iconifyOrDeiconifyTransientsOf( this );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue