keep iconic windows at the bottom of the cycling list always
This commit is contained in:
parent
b001e857fc
commit
c0b0c00408
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue