diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-18 06:55:51 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-18 06:55:51 +0000 |
| commit | a5f5b424558b4278935020680101636b409ee1d4 (patch) | |
| tree | 89c3210f37a276b66e18b5ed0adae6ec613bef6b | |
| parent | 06663c245ae0bffcc80bf4f0c3a0780679b8d544 (diff) | |
check for client_normal before focusing
| -rw-r--r-- | openbox/focus.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } } |
