]> Dogcows Code - chaz/openbox/blobdiff - scripts/defaults.py
make Escape abort cycling
[chaz/openbox] / scripts / defaults.py
index 922f472cf03daf728b8a647321448b8f2f9fdef3..7fd2273d77b80ee084a2aa7138b9605e505bdac5 100644 (file)
@@ -1,4 +1,5 @@
 import focus      # add some default focus handling and cycling functions
+import stackedcycle # functions for doing stacked 'kde-style' cycling
 import focusmodel # default focus models
 import behavior   # defines default behaviors for interaction with windows
 import callbacks  # a lib of functions that can be used as binding callbacks
@@ -33,8 +34,8 @@ ob.mbind("Left", ob.MouseContext.Root, ob.MouseAction.Click,
 ob.kbind(["A-F4"], ob.KeyContext.All, callbacks.close)
 
 # focus bindings
-ob.kbind(["A-Tab"], ob.KeyContext.All, focus.focus_next_stacked)
-ob.kbind(["A-S-Tab"], ob.KeyContext.All, focus.focus_prev_stacked)
+ob.kbind(["A-Tab"], ob.KeyContext.All, stackedcycle.next)
+ob.kbind(["A-S-Tab"], ob.KeyContext.All, stackedcycle.previous)
 
 # desktop changing bindings
 ob.kbind(["C-1"], ob.KeyContext.All, lambda(d): callbacks.change_desktop(d, 0))
This page took 0.019932 seconds and 4 git commands to generate.