all repos — openbox @ d993bcd9ad035a4f38cb7a3733586ee36bf2dfc9

openbox fork - make it a bit more like ryudo

include the desktop name if cycling on all desktops is enabled
Dana Jansens danakj@orodu.net
commit

d993bcd9ad035a4f38cb7a3733586ee36bf2dfc9

parent

9676a6774ba097eb5bbdee8c95260762f6741bcc

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M scripts/stackedcycle.pyscripts/stackedcycle.py

@@ -117,6 +117,12 @@ self.menuwidgets.append(w)

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:]