From af1ac846ccb5fab8a3c83d8688db3d3f96f5a98b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 16 Jan 2003 23:32:16 +0000 Subject: new raise/lower window code. only restacks 2 windows (1 move) at a time, ever. ManMower, u rulz. --- scripts/builtins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/builtins.py') 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""" -- cgit v1.2.3