aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-02-19 16:04:59 (GMT)
committermarkt <markt>2007-02-19 16:04:59 (GMT)
commitbd3d8d5c8da9a1db58108c3b26257d7bb3d3139c (patch)
tree54996d4506355e71fc5b4d69fcfe8bb44ddc156a /src/Window.cc
parentca710b371b500d29c6849e568c43f746a787bc5f (diff)
downloadfluxbox-bd3d8d5c8da9a1db58108c3b26257d7bb3d3139c.zip
fluxbox-bd3d8d5c8da9a1db58108c3b26257d7bb3d3139c.tar.bz2
fixed some strange behavior with tabbing a transient to its main window
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 36bd271..ccdb477 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1887,7 +1887,8 @@ void FluxboxWindow::raise() {
1887 // raise this window and every transient in it with this one last 1887 // raise this window and every transient in it with this one last
1888 if (client->fbwindow()) { 1888 if (client->fbwindow()) {
1889 // doing this on startup messes up the focus order 1889 // doing this on startup messes up the focus order
1890 if (!Fluxbox::instance()->isStartup()) 1890 if (!Fluxbox::instance()->isStartup() && client->fbwindow() != this &&
1891 &client->fbwindow()->winClient() != client)
1891 // activate the client so the transient won't get pushed back down 1892 // activate the client so the transient won't get pushed back down
1892 client->fbwindow()->setCurrentClient(*client, false); 1893 client->fbwindow()->setCurrentClient(*client, false);
1893 raiseFluxboxWindow(*client->fbwindow()); 1894 raiseFluxboxWindow(*client->fbwindow());