From dce6247e693a4880b1f77252460d445825efc13c Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 4 Aug 2006 19:56:42 +0000 Subject: really fix focus_last? --- openbox/focus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/focus.c') diff --git a/openbox/focus.c b/openbox/focus.c index 07df3a56..6a56c2f8 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -249,7 +249,8 @@ ObClient* focus_fallback_target(ObFocusFallbackType type) old = focus_client; - if (type == OB_FOCUS_FALLBACK_UNFOCUSING && old) { + if ((type == OB_FOCUS_FALLBACK_UNFOCUSING + || type == OB_FOCUS_FALLBACK_CLOSED) && old) { if (old->transient_for) { gboolean trans = FALSE; -- cgit v1.2.3