diff --git a/scripts/focus.py b/scripts/focus.py index dbaf4bc4..0dfd3fb8 100644 --- a/scripts/focus.py +++ b/scripts/focus.py @@ -64,7 +64,8 @@ def _focused(data): # pass around focus desktop = ob.openbox.screen(data.screen).desktop() for c in _clients: - if _focusable(c, desktop) and c.focus(): + if _focusable(c, desktop): + c.focus() break def _newwindow(data):