From: Dana Jansens Date: Fri, 18 Apr 2003 06:55:51 +0000 (+0000) Subject: check for client_normal before focusing X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=a5f5b424558b4278935020680101636b409ee1d4;p=chaz%2Fopenbox check for client_normal before focusing --- 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; } }