Mercurial > minori
comparison dep/animia/src/animia.cc @ 202:71832ffe425a
animia: re-add kvm fd source
this is all being merged from my wildly out-of-date laptop. SORRY!
in other news, I edited the CI file to install the wayland client
as well, so the linux CI build might finally get wayland stuff.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 02 Jan 2024 06:05:06 -0500 |
parents | bc1ae1810855 |
children | 031a257ee019 |
comparison
equal
deleted
inserted
replaced
201:8f6f8dd2eb23 | 202:71832ffe425a |
---|---|
59 break; | 59 break; |
60 } | 60 } |
61 return true; | 61 return true; |
62 }; | 62 }; |
63 | 63 |
64 if (!internal::fd.EnumerateOpenProcesses(process_proc)) | 64 if (!internal::EnumerateOpenProcesses(process_proc)) |
65 return false; | 65 return false; |
66 | 66 |
67 /* Then add our cool windows. | 67 /* Then add our cool windows. |
68 Note: X11 is stupid and there's no reliable way to get a PID from a given window. | 68 Note: X11 is stupid and there's no reliable way to get a PID from a given window. |
69 This is because some windows might not even have a process attached to them. | 69 This is because some windows might not even have a process attached to them. |
81 break; | 81 break; |
82 } | 82 } |
83 return true; | 83 return true; |
84 }; | 84 }; |
85 | 85 |
86 if (!internal::win.EnumerateWindows(window_proc)) | 86 if (!internal::EnumerateWindows(window_proc)) |
87 return false; | 87 return false; |
88 | 88 |
89 return internal::ApplyStrategies(results); | 89 return internal::ApplyStrategies(results); |
90 } | 90 } |
91 | 91 |