focus does not return anything now, cuz its just the function which sends a focus event

This commit is contained in:
Dana Jansens 2003-02-17 21:48:14 +00:00
parent 3c82ae888d
commit 109c589667

View file

@ -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):