summaryrefslogtreecommitdiff
path: root/scripts/callbacks.py
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-02 23:51:40 +0000
committerDana Jansens <danakj@orodu.net>2003-02-02 23:51:40 +0000
commit4d4e17d102a2a3af89653974478ab5877cb0cbdc (patch)
tree2a05d361ce809d959e57ff2e5532aee871628aff /scripts/callbacks.py
parent1814947e47dcf0ea5734c076d5eabe2f5a2e7f11 (diff)
to the bottom
Diffstat (limited to 'scripts/callbacks.py')
-rw-r--r--scripts/callbacks.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/callbacks.py b/scripts/callbacks.py
index e001cc3b..7f7be663 100644
--- a/scripts/callbacks.py
+++ b/scripts/callbacks.py
@@ -9,14 +9,6 @@ StateRemove = 0
StateAdd = 1
StateToggle = 2
-def restart(data=0, other = ""):
- """Restarts Openbox, optionally starting another window manager."""
- ob.openbox.restart(other)
-
-def exit(data=0):
- """Exits Openbox."""
- ob.openbox.shutdown()
-
def state_above(data, add=StateAdd):
"""Toggles, adds or removes the 'above' state on a window.
The second paramater should one of: StateRemove, StateAdd, or
@@ -264,4 +256,12 @@ def send_to_prev_desktop(data, no_wrap=0, follow=1):
if follow:
change_desktop(data, d)
+def restart(data=0, other = ""):
+ """Restarts Openbox, optionally starting another window manager."""
+ ob.openbox.restart(other)
+
+def exit(data=0):
+ """Exits Openbox."""
+ ob.openbox.shutdown()
+
print "Loaded callbacks.py"