make restart's parameter optional
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
scripts/callbacks.py
→
scripts/callbacks.py
@@ -113,7 +113,7 @@ if data.action == ob.EventAction.EnterWindow and not data.client.normal():
return data.client.focus() -def restart(data, other = ""): +def restart(data=0, other = ""): """Restarts Openbox, optionally starting another window manager.""" ob.openbox.restart(other)