diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-04 17:17:55 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-04 17:17:55 +0000 |
| commit | 0ce054c2b5f85e4e71b274bbe83fca2be61a1baf (patch) | |
| tree | 51b05eb8dac79e6cd3ae607fe2095043ea1bf9d7 | |
| parent | e0fa57d21c83bbfe87b15224f699bc24628fd89f (diff) | |
dont try change focus while looping thru the focus list
| -rw-r--r-- | openbox/focus.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index 5909ca77..68b208ce 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -229,8 +229,11 @@ void focus_fallback(FallbackType type) checks for this is in transient/group fallbacks, so they can be fallback targets there. */ !((Client*)it->data)->fullscreen && - client_focus(it->data)) + client_can_focus(it->data)) { + gboolean r = client_focus(sit->data); + assert(r); return; + } /* nothing to focus */ focus_set_client(NULL); |
