From b23c66afd15be9976a80f184df0d044919c56582 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 28 Mar 2003 00:16:36 +0000 Subject: [PATCH] dont rm focus when i actually found something to fall back to with the pointer --- openbox/focus.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openbox/focus.c b/openbox/focus.c index a4629157..127a3399 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -134,8 +134,7 @@ void focus_fallback(gboolean switching_desks) if (client_focus(it->data)) break; } + if (it == NULL) /* nothing to focus */ + focus_set_client(NULL); } - - if (it == NULL) /* nothing to focus */ - focus_set_client(NULL); } -- 2.39.2