From a5f5b424558b4278935020680101636b409ee1d4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 18 Apr 2003 06:55:51 +0000 Subject: [PATCH] check for client_normal before focusing --- openbox/focus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbox/focus.c b/openbox/focus.c index f7f36e77..6c275a84 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -196,7 +196,8 @@ void focus_fallback(FallbackType type) for (it = focus_order[screen_desktop]; it != NULL; it = it->next) for (sit = old->group->members; sit; sit = sit->next) if (sit->data == it->data) - if (sit->data != old && client_focus(sit->data)) + if (sit->data != old && client_normal(sit->data) && + client_focus(sit->data)) return; } } -- 2.39.2