When the user lowers the active window with a mouse action also
automatically focus the next available window. BUG: 182146 svn path=/trunk/KDE/kdebase/workspace/; revision=917649
This commit is contained in:
parent
f9f4d916e4
commit
2e42deec73
1 changed files with 4 additions and 0 deletions
|
@ -571,6 +571,10 @@ bool Client::performMouseCommand( Options::MouseCommand command, const QPoint &g
|
||||||
break;
|
break;
|
||||||
case Options::MouseLower:
|
case Options::MouseLower:
|
||||||
workspace()->lowerClient( this );
|
workspace()->lowerClient( this );
|
||||||
|
// As this most likely makes the window no longer visible change the
|
||||||
|
// keyboard focus to the next available window.
|
||||||
|
//workspace()->activateNextClient( this ); // Doesn't work when we lower a child window
|
||||||
|
workspace()->activateClient( workspace()->topClientOnDesktop( workspace()->currentDesktop(), -1 ));
|
||||||
break;
|
break;
|
||||||
case Options::MouseShade :
|
case Options::MouseShade :
|
||||||
toggleShade();
|
toggleShade();
|
||||||
|
|
Loading…
Reference in a new issue