summaryrefslogtreecommitdiff
path: root/scripts/defaults.py
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-04 08:51:47 +0000
committerDana Jansens <danakj@orodu.net>2003-02-04 08:51:47 +0000
commit51a41b9b765dbcf76ec09324f533d8c8edd46e37 (patch)
tree6b1092e8d806ecfaf577feba66e045a17b015b90 /scripts/defaults.py
parentf6085d780192b805ef61678cdc0935a917cc2b3f (diff)
all new stacked cycling code. so much sexy.
add an openbox_active_window client message that lets you specify if you want the window to be raised and/or unshaded.
Diffstat (limited to 'scripts/defaults.py')
-rw-r--r--scripts/defaults.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/defaults.py b/scripts/defaults.py
index 922f472c..7fd2273d 100644
--- a/scripts/defaults.py
+++ b/scripts/defaults.py
@@ -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))