diff --git a/scripts/stackedcycle.py b/scripts/stackedcycle.py index 5731a564..a632b318 100644 --- 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