all repos — openbox @ 18ab2453077197a789448ce692c7e21436cca34b

openbox fork - make it a bit more like ryudo

cycling by any number of windows
Dana Jansens danakj@orodu.net
commit

18ab2453077197a789448ce692c7e21436cca34b

parent

707f70682abe0dfaadbf76843a0dccb33f0eaeda

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M scripts/focus.pyscripts/focus.py

@@ -71,11 +71,11 @@ if ob_focus_raise:

screen.raiseWindow(client) return if forward: - t += 1 - if t == count: t = 0 + t += num + if t >= count: t -= count else: t -= 1 - if t < 0: t = count - 1 + if t < 0: t += count if t == target: return # nothing to focus def focus_prev(data, num=1):