From b301468a8064ca71a9560b08f0e45176b7301101 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Sun, 8 Sep 2002 12:09:55 +0000 Subject: [PATCH] in takeFocus, do not suppress the activation of dock windows when those are not stays on top svn path=/trunk/kdebase/kwin/; revision=176411 --- client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index 631b47087b..d493685896 100644 --- a/client.cpp +++ b/client.cpp @@ -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 ) {