summaryrefslogtreecommitdiff
path: root/scripts/callbacks.py
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-02 23:51:04 +0000
committerDana Jansens <danakj@orodu.net>2003-02-02 23:51:04 +0000
commit95a11f35534a866514f9b8e9f5e929452c5df23a (patch)
tree4ade297c740970203483951841e8ca9fd0658668 /scripts/callbacks.py
parentda0c7355d1dd3ec873c9a49918517cf5c4a646c9 (diff)
make restart's parameter optional
Diffstat (limited to 'scripts/callbacks.py')
-rw-r--r--scripts/callbacks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/callbacks.py b/scripts/callbacks.py
index 0852a3ac..024a197e 100644
--- a/scripts/callbacks.py
+++ b/scripts/callbacks.py
@@ -113,7 +113,7 @@ def focus(data):
return
data.client.focus()
-def restart(data, other = ""):
+def restart(data=0, other = ""):
"""Restarts Openbox, optionally starting another window manager."""
ob.openbox.restart(other)