aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc5
1 files changed, 4 insertions, 1 deletions
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() {
1933 // raise this window and every transient in it with this one last 1933 // raise this window and every transient in it with this one last
1934 if (client->fbwindow()) { 1934 if (client->fbwindow()) {
1935 raiseFluxboxWindow(*client->fbwindow()); 1935 raiseFluxboxWindow(*client->fbwindow());
1936 client->fbwindow()->setCurrentClient(*client, false); 1936 // doing this on startup messes up the focus order
1937 if (!Fluxbox::instance()->isStartup())
1938 // activate the client so the transient won't get pushed back down
1939 client->fbwindow()->setCurrentClient(*client, false);
1937 } 1940 }
1938 1941
1939} 1942}