focus does not return anything now, cuz its just the function which sends a focus event
This commit is contained in:
parent
3c82ae888d
commit
109c589667
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ def _focused(data):
|
||||||
# pass around focus
|
# pass around focus
|
||||||
desktop = ob.openbox.screen(data.screen).desktop()
|
desktop = ob.openbox.screen(data.screen).desktop()
|
||||||
for c in _clients:
|
for c in _clients:
|
||||||
if _focusable(c, desktop) and c.focus():
|
if _focusable(c, desktop):
|
||||||
|
c.focus()
|
||||||
break
|
break
|
||||||
|
|
||||||
def _newwindow(data):
|
def _newwindow(data):
|
||||||
|
|
Loading…
Reference in a new issue