From a9175a8a324deb6d1b7e717fb77fbc96204c7540 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 14 Mar 2007 15:56:59 +0000 Subject: save the focus_client when falling back, so we don't actually refocus it when we don't want to. --- openbox/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/screen.c') 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); -- cgit v1.2.3