add an optional parameter to restart

This commit is contained in:
Dana Jansens 2003-01-10 22:50:56 +00:00
parent bcd808d084
commit 6f500e23e3

View file

@ -86,9 +86,9 @@ def resize(data):
data.press_clientwidth + dx,
data.press_clientheight + dy);
def restart(data):
"""Restarts openbox"""
openbox.restart("")
def restart(data, other = ""):
"""Restarts openbox, optionally starting another window manager."""
openbox.restart(other)
def raise_win(data):
"""Raises the window on which the event occured"""