aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkt <markt>2007-01-06 18:56:50 (GMT)
committermarkt <markt>2007-01-06 18:56:50 (GMT)
commit8db2d4f26eae2d608e864aabf6218ad461c4da6b (patch)
treee760045248beb4b09d29e24b6be1500af84fcc87
parent590f32704af7a61dc99aa0c30da10fd842e2eeab (diff)
downloadfluxbox-8db2d4f26eae2d608e864aabf6218ad461c4da6b.zip
fluxbox-8db2d4f26eae2d608e864aabf6218ad461c4da6b.tar.bz2
little fix for previous patch to transient window raising
-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}