We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b76eb16 commit dbd14efCopy full SHA for dbd14ef
NickBox.py
@@ -1134,7 +1134,7 @@ def update_window_visualization(self):
1134
target_windows = self.get_target_windows()
1135
colors = self.generate_colors(99)
1136
1137
- target_windows.sort(key=lambda w: (w.top, w.left))
+ target_windows.sort(key=lambda w: getattr(w, '_hWnd', id(w)))
1138
for i, window in enumerate(target_windows):
1139
if self.is_window_on_monitor(window, selected_monitor):
1140
color = colors[i % len(colors)]
0 commit comments