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.
If you say that there's an similar API on Linux for X11, then that's the same methodology across platforms.