all repos — openbox @ 4d4e17d102a2a3af89653974478ab5877cb0cbdc

openbox fork - make it a bit more like ryudo

to the bottom
Dana Jansens danakj@orodu.net
commit

4d4e17d102a2a3af89653974478ab5877cb0cbdc

parent

1814947e47dcf0ea5734c076d5eabe2f5a2e7f11

1 files changed, 8 insertions(+), 8 deletions(-)

jump to
M scripts/callbacks.pyscripts/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

@@ -263,5 +255,13 @@ d = n - 1

send_to_desktop(data, d) 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"