From 109c58966796c4b2bd1b1f4a58a4efc7d79350e5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Feb 2003 21:48:14 +0000 Subject: [PATCH] focus does not return anything now, cuz its just the function which sends a focus event --- scripts/focus.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- 2.45.2