summaryrefslogtreecommitdiff
path: root/scripts/builtins.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/builtins.py')
-rw-r--r--scripts/builtins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/builtins.py b/scripts/builtins.py
index fee56e63..69271b21 100644
--- a/scripts/builtins.py
+++ b/scripts/builtins.py
@@ -93,12 +93,12 @@ def restart(data, other = ""):
def raise_win(data):
"""Raises the window on which the event occured"""
if not data.client: return
- openbox.screen(data.screen).restack(1, data.client)
+ openbox.screen(data.screen).raiseWindow(data.client)
def lower_win(data):
"""Lowers the window on which the event occured"""
if not data.client: return
- openbox.screen(data.screen).restack(0, data.client)
+ openbox.screen(data.screen).lowerWindow(data.client)
def toggle_shade(data):
"""Toggles the shade status of the window on which the event occured"""