]> Dogcows Code - chaz/openbox/commitdiff
add change_desktop
authorDana Jansens <danakj@orodu.net>
Tue, 7 Jan 2003 02:44:54 +0000 (02:44 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 7 Jan 2003 02:44:54 +0000 (02:44 +0000)
scripts/builtins.py

index 82f21aea1a4922b4e7f4b79d587ba01cd66b5e83..0fd3804b84af54150ec0d6f033e3ae57b075f19e 100644 (file)
@@ -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 ###
This page took 0.027463 seconds and 4 git commands to generate.