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:
9676a67
)
include the desktop name if cycling on all desktops is enabled
author
Dana Jansens
<danakj@orodu.net>
Mon, 10 Feb 2003 23:28:30 +0000
(23:28 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 10 Feb 2003 23:28:30 +0000
(23:28 +0000)
scripts/stackedcycle.py
patch
|
blob
|
history
diff --git
a/scripts/stackedcycle.py
b/scripts/stackedcycle.py
index b78c37f525a5dda99c83b7727b217e3cc0bfd24d..376297e180679672a2066b1f1590a76ead848170 100644
(file)
--- a/
scripts/stackedcycle.py
+++ b/
scripts/stackedcycle.py
@@
-117,6
+117,12
@@
class _cycledata:
if c.iconic(): t = c.iconTitle()
else: t = c.title()
+
+ if INCLUDE_ALL_DESKTOPS:
+ d = c.desktop()
+ if d == 0xffffffff: d = self.screen.desktop()
+ t = self.screen.desktopName(d) + " - " + t
+
if len(t) > TITLE_SIZE_LIMIT: # limit the length of titles
t = t[:TITLE_SIZE_LIMIT / 2 - 2] + "..." + \
t[0 - TITLE_SIZE_LIMIT / 2 - 2:]