]> Dogcows Code - chaz/openbox/blobdiff - scripts/callbacks.py
make restart's parameter optional
[chaz/openbox] / scripts / callbacks.py
index e0ffd5e80e5cd565bbed4ae5c4b92f5b0926ec03..024a197e3bea156117aaef6e0c3b41d484cc572e 100644 (file)
@@ -113,11 +113,11 @@ 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)
 
-def exit(data):
+def exit(data=0):
     """Exits Openbox."""
     ob.openbox.shutdown()
 
This page took 0.021684 seconds and 4 git commands to generate.