projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26bef30
)
add change_desktop
author
Dana Jansens
<danakj@orodu.net>
Tue, 7 Jan 2003 02:44:54 +0000
(
02:44
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 7 Jan 2003 02:44:54 +0000
(
02:44
+0000)
scripts/builtins.py
patch
|
blob
|
history
diff --git
a/scripts/builtins.py
b/scripts/builtins.py
index 82f21aea1a4922b4e7f4b79d587ba01cd66b5e83..0fd3804b84af54150ec0d6f033e3ae57b075f19e 100644
(file)
--- 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 ###