add an optional parameter to restart
This commit is contained in:
parent
bcd808d084
commit
6f500e23e3
1 changed files with 3 additions and 3 deletions
|
@ -86,9 +86,9 @@ def resize(data):
|
||||||
data.press_clientwidth + dx,
|
data.press_clientwidth + dx,
|
||||||
data.press_clientheight + dy);
|
data.press_clientheight + dy);
|
||||||
|
|
||||||
def restart(data):
|
def restart(data, other = ""):
|
||||||
"""Restarts openbox"""
|
"""Restarts openbox, optionally starting another window manager."""
|
||||||
openbox.restart("")
|
openbox.restart(other)
|
||||||
|
|
||||||
def raise_win(data):
|
def raise_win(data):
|
||||||
"""Raises the window on which the event occured"""
|
"""Raises the window on which the event occured"""
|
||||||
|
|
Loading…
Reference in a new issue