summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/Window.cc3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 283bb9d..f43c672 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.16: 2Changes for 0.9.16:
3*06/04/23: 3*06/04/23:
4 * Focus singular windows on a workspace (Simon / thanks Jonas Koelker)
5 sf.net patch #1474722
6 Window.cc
4 * Tidy up window cycling, and make linear mode work in order of 7 * Tidy up window cycling, and make linear mode work in order of
5 creation (Thanks Mark Tiefenbruck, mark at tiefenbruck dot org) 8 creation (Thanks Mark Tiefenbruck, mark at tiefenbruck dot org)
6 FocusControl.hh/cc 9 FocusControl.hh/cc
diff --git a/src/Window.cc b/src/Window.cc
index 4ced1c6..7ffc1d5 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1546,7 +1546,8 @@ void FluxboxWindow::deiconify(bool reassoc, bool do_raise) {
1546 1546
1547 show(); 1547 show();
1548 1548
1549 if (was_iconic && screen().focusControl().focusNew()) 1549 // focus new, OR if it's the only window on the workspace
1550 if (was_iconic && (screen().focusControl().focusNew() || screen().currentWorkspace()->numberOfWindows() == 1))
1550 setInputFocus(); 1551 setInputFocus();
1551 1552
1552 1553