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=78158
icc-effect-5.14.5
Matthias Elter 2001-01-15 13:25:39 +00:00
parent ef97333d15
commit 684fa4983f
1 changed files with 29 additions and 25 deletions

View File

@ -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 );
}