set active client when raising a transient window

This commit is contained in:
markt 2007-01-05 21:48:42 +00:00
parent 4ffd744f81
commit 2e438fde2c
2 changed files with 6 additions and 1 deletions

View file

@ -1,6 +1,9 @@
(Format: Year/Month/Day)
Changes for 1.0rc3:
*07/01/05:
* When a client in an unfocused tab creates a transient window, set that
client to the active tab (Mark)
Window.cc
* Window wasn't staying focused when dragging across workspaces with
outline window moving (Mark)
Window.cc

View file

@ -1931,8 +1931,10 @@ void FluxboxWindow::raise() {
m_client->transientFor()->transientList().push_back(m_client);
}
// raise this window and every transient in it with this one last
if (client->fbwindow())
if (client->fbwindow()) {
raiseFluxboxWindow(*client->fbwindow());
client->fbwindow()->setCurrentClient(*client, false);
}
}