From 8db2d4f26eae2d608e864aabf6218ad461c4da6b Mon Sep 17 00:00:00 2001 From: markt Date: Sat, 6 Jan 2007 18:56:50 +0000 Subject: little fix for previous patch to transient window raising --- src/Window.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Window.cc b/src/Window.cc index 73efbab..56bf796 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -1933,7 +1933,10 @@ void FluxboxWindow::raise() { // raise this window and every transient in it with this one last if (client->fbwindow()) { raiseFluxboxWindow(*client->fbwindow()); - client->fbwindow()->setCurrentClient(*client, false); + // 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); } } -- cgit v0.11.2