force a binding with a modifier
Dana Jansens danakj@orodu.net
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
scripts/stackedcycle.py
→
scripts/stackedcycle.py
@@ -26,10 +26,16 @@ ###########################################################################
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) ###########################################################################