dont try change focus while looping thru the focus list
This commit is contained in:
parent
e0fa57d21c
commit
0ce054c2b5
1 changed files with 4 additions and 1 deletions
|
@ -229,8 +229,11 @@ void focus_fallback(FallbackType type)
|
||||||
checks for this is in transient/group fallbacks, so they can
|
checks for this is in transient/group fallbacks, so they can
|
||||||
be fallback targets there. */
|
be fallback targets there. */
|
||||||
!((Client*)it->data)->fullscreen &&
|
!((Client*)it->data)->fullscreen &&
|
||||||
client_focus(it->data))
|
client_can_focus(it->data)) {
|
||||||
|
gboolean r = client_focus(sit->data);
|
||||||
|
assert(r);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* nothing to focus */
|
/* nothing to focus */
|
||||||
focus_set_client(NULL);
|
focus_set_client(NULL);
|
||||||
|
|
Loading…
Reference in a new issue