all repos — openbox @ 0ce054c2b5f85e4e71b274bbe83fca2be61a1baf

openbox fork - make it a bit more like ryudo

dont try change focus while looping thru the focus list
Dana Jansens danakj@orodu.net
commit

0ce054c2b5f85e4e71b274bbe83fca2be61a1baf

parent

e0fa57d21c83bbfe87b15224f699bc24628fd89f

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M openbox/focus.copenbox/focus.c

@@ -229,8 +229,11 @@ /* dont fall back to 'anonymous' fullscreen windows. theres no

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);