comparison dep/animia/src/win/x11.cc @ 191:0fc126d52de4

animia: multiple stylistic choices win.class_name is now used to store bundle IDs on OS X, add some little explanations here and there for dumb stuff
author Paper <mrpapersonic@gmail.com>
date Thu, 07 Dec 2023 01:48:04 -0500
parents 31735c8592bc
children bc1ae1810855
comparison
equal deleted inserted replaced
190:2d5823df870f 191:0fc126d52de4
91 91
92 return true; 92 return true;
93 } 93 }
94 94
95 static bool WalkWindows(::Display* display, std::set<::Window>& children, const std::set<::Window>& windows) { 95 static bool WalkWindows(::Display* display, std::set<::Window>& children, const std::set<::Window>& windows) {
96 /* This sucks. It takes waaaay too long to finish.
97 * TODO: Look at the code for xwininfo to see what they do.
98 */
96 if (windows.empty()) 99 if (windows.empty())
97 return false; 100 return false;
98 101
99 for (const ::Window& window : windows) { 102 for (const ::Window& window : windows) {
100 unsigned int num_children = 0; 103 unsigned int num_children = 0;