X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Ffocus.py;h=dbaf4bc444b87f293c9bb2268297f99c4c81bb83;hb=dca8c61a91cab29128a72f252b70f4bd9f7786ff;hp=de426c720a2484d05d869242bedd7e88fcaabc33;hpb=82d147b5d74757ce6f1676aab16c9e6e1e837b4e;p=chaz%2Fopenbox diff --git a/scripts/focus.py b/scripts/focus.py index de426c72..dbaf4bc4 100644 --- a/scripts/focus.py +++ b/scripts/focus.py @@ -48,15 +48,13 @@ def _remove(client): raise ValueError("_remove(x): x not in _clients list.") def _focused(data): - global _clients + global _clients, _skip if _skip: - global _skip _skip -= 1 return if data.client: - print data.client.window() # move it to the top try: _remove(data.client)