From 130a1a2c71a25736abe0bc430301f646989bd4d6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 7 Jan 2003 02:44:54 +0000 Subject: [PATCH] add change_desktop --- scripts/builtins.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/builtins.py b/scripts/builtins.py index 82f21aea..0fd3804b 100644 --- a/scripts/builtins.py +++ b/scripts/builtins.py @@ -124,6 +124,10 @@ def prev_desktop(data, no_wrap=0): elif not no_wrap: d = n - 1 OBScreen_changeDesktop(screen, d) + +def change_desktop(data, num): + screen = Openbox_screen(openbox, data.screen()) + OBScreen_changeDesktop(screen, num) ######################################### ### Convenience functions for scripts ### -- 2.45.2