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

those are not stays on top

svn path=/trunk/kdebase/kwin/; revision=176411
This commit is contained in:
Matthias Ettrich 2002-09-08 12:09:55 +00:00
parent 3d3c5fa658
commit b301468a80

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 ) {