]> Dogcows Code - chaz/openbox/blobdiff - scripts/builtins.py
new raise/lower window code. only restacks 2 windows (1 move) at a time, ever. ManMow...
[chaz/openbox] / scripts / builtins.py
index fee56e63a0cd7ac1552167112c8557db68f6460b..69271b21dbcc39913e5ff19f04dccee0acb16bef 100644 (file)
@@ -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"""
This page took 0.022352 seconds and 4 git commands to generate.