]> Dogcows Code - chaz/openbox/blobdiff - scripts/stackedcycle.py
store pointers instead of window id's. this lets us use them directly instead of...
[chaz/openbox] / scripts / stackedcycle.py
index 9c60c1b9c66a25a9c7ccc5f3c0f5d13ee40a9e91..49ac6848c6c0d0d3b93be98baf7d1df7e453f1c3 100644 (file)
@@ -96,11 +96,9 @@ class _cycledata:
         # 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:
-                if c.iconic(): iconic_clients.append(c)
-                else: self.clients.append(c)
+        for c in focus._clients:
+            if c.iconic(): iconic_clients.append(c)
+            else: self.clients.append(c)
         self.clients.extend(iconic_clients)
 
         font = self.style.labelFont()
This page took 0.020208 seconds and 4 git commands to generate.