diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 3 |
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()); |