little fix for previous patch to transient window raising

This commit is contained in:
markt 2007-01-06 18:56:50 +00:00
parent 590f32704a
commit 8db2d4f26e

View file

@ -1933,6 +1933,9 @@ void FluxboxWindow::raise() {
// raise this window and every transient in it with this one last // raise this window and every transient in it with this one last
if (client->fbwindow()) { if (client->fbwindow()) {
raiseFluxboxWindow(*client->fbwindow()); raiseFluxboxWindow(*client->fbwindow());
// doing this on startup messes up the focus order
if (!Fluxbox::instance()->isStartup())
// activate the client so the transient won't get pushed back down
client->fbwindow()->setCurrentClient(*client, false); client->fbwindow()->setCurrentClient(*client, false);
} }