# maintain a list of clients, stacked in focus order
_clients = []
-_disable = 0
+_skip = 0
def _focusable(client, desktop):
if not client.normal(): return 0
def _focused(data):
global _clients
- if _disable: return
+ if _skip:
+ global _skip
+ _skip -= 1
+ return
if data.client:
# move it to the top