summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-14 15:56:59 +0000
committerDana Jansens <danakj@orodu.net>2007-03-14 15:56:59 +0000
commita9175a8a324deb6d1b7e717fb77fbc96204c7540 (patch)
tree9ca3226f81be1f731645c1de3a0733b00f655d26 /openbox/screen.c
parentadc5675823de8e3bbe94a1419b04103c6f845dad (diff)
save the focus_client when falling back, so we don't actually refocus it when we don't want to.
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 0d4f2fb3..70de299d 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -463,7 +463,7 @@ void screen_set_desktop(guint num)
event_ignore_queued_enters();
- focus_hilite = focus_fallback_target(TRUE);
+ focus_hilite = focus_fallback_target(TRUE, focus_client);
if (focus_hilite) {
frame_adjust_focus(focus_hilite->frame, TRUE);