X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Fbuiltins.py;h=69271b21dbcc39913e5ff19f04dccee0acb16bef;hb=619ad666fc3091a2ec022cbe4d829123ee94398b;hp=fee56e63a0cd7ac1552167112c8557db68f6460b;hpb=50863470923dec831ba1995e393477378fb245d4;p=chaz%2Fopenbox 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"""