diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-10 22:50:56 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-10 22:50:56 +0000 |
| commit | 6f500e23e31d46fa84d3864114b3ad8d316a8cb2 (patch) | |
| tree | 3d5e175d595dd55c6c2a8dc66bba98666a90b286 /scripts | |
| parent | bcd808d0841e405970876d8e07afd9349f6febc4 (diff) | |
add an optional parameter to restart
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/builtins.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/builtins.py b/scripts/builtins.py index 93f7b8db..b7b48c1c 100644 --- a/scripts/builtins.py +++ b/scripts/builtins.py @@ -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""" |
