diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/Window.cc | 14 |
2 files changed, 7 insertions, 10 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0rc3: | 2 | Changes for 1.0rc3: |
3 | *07/02/17: | ||
4 | * Fixed some issues with transients of inactive tabs (Mark) | ||
5 | Window.cc | ||
3 | *07/02/10: | 6 | *07/02/10: |
4 | * MaxSize and MinSize hints weren't getting updated properly -- bug #1560803 | 7 | * MaxSize and MinSize hints weren't getting updated properly -- bug #1560803 |
5 | (Mark + thanks Jim Ramsay) | 8 | (Mark + thanks Jim Ramsay) |
diff --git a/src/Window.cc b/src/Window.cc index c324087..0deecd2 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1887,11 +1887,11 @@ void FluxboxWindow::raise() { | |||
1887 | } | 1887 | } |
1888 | // raise this window and every transient in it with this one last | 1888 | // raise this window and every transient in it with this one last |
1889 | if (client->fbwindow()) { | 1889 | if (client->fbwindow()) { |
1890 | raiseFluxboxWindow(*client->fbwindow()); | ||
1891 | // doing this on startup messes up the focus order | 1890 | // doing this on startup messes up the focus order |
1892 | if (!Fluxbox::instance()->isStartup()) | 1891 | if (!Fluxbox::instance()->isStartup()) |
1893 | // 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 |
1894 | client->fbwindow()->setCurrentClient(*client, false); | 1893 | client->fbwindow()->setCurrentClient(*client, false); |
1894 | raiseFluxboxWindow(*client->fbwindow()); | ||
1895 | } | 1895 | } |
1896 | 1896 | ||
1897 | } | 1897 | } |
@@ -1917,15 +1917,9 @@ void FluxboxWindow::tempRaise() { | |||
1917 | if (isIconic()) | 1917 | if (isIconic()) |
1918 | deiconify(); | 1918 | deiconify(); |
1919 | 1919 | ||
1920 | // get root window | 1920 | // the root transient will get raised when we stop cycling |
1921 | WinClient *client = getRootTransientFor(m_client); | 1921 | // raising it here causes problems when it isn't the active tab |
1922 | 1922 | tempRaiseFluxboxWindow(*this); | |
1923 | // if we don't have any root window use this as root | ||
1924 | if (client == 0) | ||
1925 | client = m_client; | ||
1926 | |||
1927 | if (client->fbwindow()) | ||
1928 | tempRaiseFluxboxWindow(*client->fbwindow()); | ||
1929 | } | 1923 | } |
1930 | 1924 | ||
1931 | 1925 | ||