News for hackers. Stuff that matters.
Re:Ask HN: Why does Zoom Desktop examine all processes and a... by user5994461 on Tuesday August 17, 2021 @09:24PM (#28216742)
Windows has a function EnumWindows() to do just that.

If you say that there's an similar API on Linux for X11, then that's the same methodology across platforms.

Re:Ask HN: Why does Zoom Desktop examine all processes and a... by dathinab on Tuesday August 17, 2021 @09:34PM (#28216815)
I'm not sure there is such a API on wayland,

BUT there are standardized protocols/APIs for screen sharing including screen sharing of just a window. And you won't get far without using them so also no reason to scan processes.