in takeFocus, do not suppress the activation of dock windows when

those are not stays on top

svn path=/trunk/kdebase/kwin/; revision=176411
icc-effect-5.14.5
Matthias Ettrich 2002-09-08 12:09:55 +00:00
parent 3d3c5fa658
commit b301468a80
1 changed files with 1 additions and 1 deletions

View File

@ -2539,7 +2539,7 @@ void Client::getWindowProtocols(){
*/
void Client::takeFocus( bool force )
{
if ( !force && ( isTopMenu() || isDock() ) )
if ( !force && ( isTopMenu() || ( isDock() && staysOnTop() ) ) )
return; // toplevel menus and dock windows don't take focus if not forced
if ( input ) {