Don't remove focus from an auto-shaded window. That's the focus policy's

job to do it if it wants.

svn path=/trunk/kdebase/kwin/; revision=181231
This commit is contained in:
Luboš Luňák 2002-09-30 09:34:54 +00:00
parent ad2369b5ac
commit 826765b1df

View file

@ -2379,8 +2379,6 @@ void Client::setShade( bool s, int hus )
if ( !wasStaticContents )
clearWFlags( WStaticContents );
resize (s );
if (hus)
workspace()->requestFocus( NULL );
} else {
int h = height();
QSize s( sizeForWindowSize( windowWrapper()->size(), TRUE ) );