When the user lowers the active window with a shortcut automatically

focus the next available window.
BUG: 182146

svn path=/trunk/KDE/kdebase/workspace/; revision=917644
This commit is contained in:
Lucas Murray 2009-01-28 10:03:37 +00:00
parent f760d36881
commit f9f4d916e4

View file

@ -948,7 +948,13 @@ void Workspace::slotWindowLower()
{
Client* c = active_popup_client ? active_popup_client : active_client;
if ( c )
{
lowerClient( c );
// As this most likely makes the window no longer visible change the
// keyboard focus to the next available window.
//activateNextClient( c ); // Doesn't work when we lower a child window
activateClient( topClientOnDesktop( currentDesktop(), -1 ));
}
}
/*!