Commit 2e42deec authored by Lucas Murray's avatar Lucas Murray
Browse files

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
parent f9f4d916
......@@ -571,6 +571,10 @@ bool Client::performMouseCommand( Options::MouseCommand command, const QPoint &g
case Options::MouseLower:
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 ));
case Options::MouseShade :
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment