diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-04 10:32:49 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-04 10:32:49 +0000 |
| commit | c0b0c00408d2ef2c0214f8aeb760c4dbe0fa37c4 (patch) | |
| tree | 8730830e36ce374fce807a9acc7665e9c2af517a /scripts | |
| parent | b001e857fcc93ef8ed462874183a601aba57d692 (diff) | |
keep iconic windows at the bottom of the cycling list always
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/stackedcycle.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/stackedcycle.py b/scripts/stackedcycle.py index a632b318..757154a6 100644 --- a/scripts/stackedcycle.py +++ b/scripts/stackedcycle.py @@ -93,11 +93,15 @@ class cycledata: oldpos = self.menupos self.menupos = -1 - # get the list of clients + # get the list of clients, keeping iconic windows at the bottom self.clients = [] + iconic_clients = [] for i in focus._clients: c = ob.openbox.findClient(i) - if c: self.clients.append(c) + if c: + if c.iconic(): iconic_clients.append(c) + else: self.clients.append(c) + self.clients.extend(iconic_clients) font = self.style.labelFont() longest = 0 |
