summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 59dd0d0d..87f589f2 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -166,6 +166,8 @@ ObClient* focus_fallback(gboolean allow_refocus, gboolean allow_pointer)
focus_nothing();
new = focus_fallback_target(allow_refocus, allow_pointer, old);
+ /* get what was really focused */
+ if (new) new = client_focus_target(new);
return new;
}