force a binding with a modifier
This commit is contained in:
parent
741aecf842
commit
106883eedf
1 changed files with 6 additions and 0 deletions
|
@ -26,10 +26,16 @@ activate_while_cycling = 1
|
|||
|
||||
def next(data):
|
||||
"""Focus the next window."""
|
||||
if not data.state:
|
||||
raise RuntimeError("stackedcycle.next must be bound to a key" +
|
||||
"combination with at least one modifier")
|
||||
_o.cycle(data, 1)
|
||||
|
||||
def previous(data):
|
||||
"""Focus the previous window."""
|
||||
if not data.state:
|
||||
raise RuntimeError("stackedcycle.previous must be bound to a key" +
|
||||
"combination with at least one modifier")
|
||||
_o.cycle(data, 0)
|
||||
|
||||
###########################################################################
|
||||
|
|
Loading…
Reference in a new issue