to the bottom

This commit is contained in:
Dana Jansens 2003-02-02 23:51:40 +00:00
parent 1814947e47
commit 4d4e17d102

View file

@ -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"