From: Dana Jansens Date: Mon, 17 Feb 2003 21:48:14 +0000 (+0000) Subject: focus does not return anything now, cuz its just the function which sends a focus... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=109c58966796c4b2bd1b1f4a58a4efc7d79350e5;p=chaz%2Fopenbox focus does not return anything now, cuz its just the function which sends a focus event --- 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):