in takeFocus, do not suppress the activation of dock windows when
those are not stays on top svn path=/trunk/kdebase/kwin/; revision=176411icc-effect-5.14.5
parent
3d3c5fa658
commit
b301468a80
|
@ -2539,7 +2539,7 @@ void Client::getWindowProtocols(){
|
||||||
*/
|
*/
|
||||||
void Client::takeFocus( bool force )
|
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
|
return; // toplevel menus and dock windows don't take focus if not forced
|
||||||
|
|
||||||
if ( input ) {
|
if ( input ) {
|
||||||
|
|
Loading…
Reference in New Issue