diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc index d2a6e34..b50ee38 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -677,8 +677,11 @@ void FluxboxWindow::attachClient(WinClient &client, int x, int y) { | |||
677 | } else { | 677 | } else { |
678 | if (!focused_win) | 678 | if (!focused_win) |
679 | focused_win = screen().focusControl().lastFocusedWindow(*this); | 679 | focused_win = screen().focusControl().lastFocusedWindow(*this); |
680 | if (focused_win) | 680 | if (focused_win) { |
681 | setCurrentClient(*focused_win, false); | 681 | setCurrentClient(*focused_win, false); |
682 | if (isIconic() && m_focused) | ||
683 | deiconify(); | ||
684 | } | ||
682 | } | 685 | } |
683 | frame().reconfigure(); | 686 | frame().reconfigure(); |
684 | } | 687 | } |