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:
parent
ad2369b5ac
commit
826765b1df
1 changed files with 0 additions and 2 deletions
|
@ -2379,8 +2379,6 @@ void Client::setShade( bool s, int hus )
|
||||||
if ( !wasStaticContents )
|
if ( !wasStaticContents )
|
||||||
clearWFlags( WStaticContents );
|
clearWFlags( WStaticContents );
|
||||||
resize (s );
|
resize (s );
|
||||||
if (hus)
|
|
||||||
workspace()->requestFocus( NULL );
|
|
||||||
} else {
|
} else {
|
||||||
int h = height();
|
int h = height();
|
||||||
QSize s( sizeForWindowSize( windowWrapper()->size(), TRUE ) );
|
QSize s( sizeForWindowSize( windowWrapper()->size(), TRUE ) );
|
||||||
|
|
Loading…
Reference in a new issue