diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-03 18:25:04 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-03 18:25:04 +0000 |
| commit | 13f2930de727539fce8bd759450706b6094d5a98 (patch) | |
| tree | e0d7ab7744e07fef4a1255313e1d354e16e68d86 /scripts | |
| parent | 89e6d5c0e64513d06ac4368981239de969a6fc9d (diff) | |
share code for raising/lowering windows
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/builtins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/builtins.py b/scripts/builtins.py index 8c042117..29079126 100644 --- a/scripts/builtins.py +++ b/scripts/builtins.py @@ -68,10 +68,10 @@ def raise_win(data): client = Openbox_findClient(openbox, data.window()) if not client: return screen = Openbox_screen(openbox, OBClient_screen(client)) - OBScreen_raise(screen, client) + OBScreen_restack(screen, 1, client) def lower_win(data): client = Openbox_findClient(openbox, data.window()) if not client: return screen = Openbox_screen(openbox, OBClient_screen(client)) - OBScreen_lower(screen, client) + OBScreen_restack(screen, 0, client) |
