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:
77ba370
)
watch for when theres no clients and avoid exceptions, just don't do shit all
author
Dana Jansens
<danakj@orodu.net>
Tue, 4 Feb 2003 10:19:59 +0000
(10:19 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 4 Feb 2003 10:19:59 +0000
(10:19 +0000)
scripts/stackedcycle.py
patch
|
blob
|
history
diff --git
a/scripts/stackedcycle.py
b/scripts/stackedcycle.py
index 5731a56456b82f641687d393d63ea48c18d9d6eb..a632b3183f6ddb7d547160e0515573c9b0f53828 100644
(file)
--- a/
scripts/stackedcycle.py
+++ b/
scripts/stackedcycle.py
@@
-192,6
+192,8
@@
class cycledata:
# popup disappears, screwing up the focus
ob.mgrab(self.screen.number())
+ if not len(self.clients): return # don't both doing anything
+
self.menuwidgets[self.menupos].unfocus()
if forward:
self.menupos += 1