diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-17 21:48:14 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-17 21:48:14 +0000 |
| commit | 109c58966796c4b2bd1b1f4a58a4efc7d79350e5 (patch) | |
| tree | 53d9f89f00ee40b1ee43a3e1e668895e3ad75e14 /scripts/focus.py | |
| parent | 3c82ae888de284af39fa415f291e5e08028ca5b7 (diff) | |
focus does not return anything now, cuz its just the function which sends a focus event
Diffstat (limited to 'scripts/focus.py')
| -rw-r--r-- | scripts/focus.py | 3 |
1 files changed, 2 insertions, 1 deletions
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): |
