Re:Ask HN: Why does Zoom Desktop examine all processes and a...
by dathinab on Tuesday August 17, 2021 @08:57PM
(#28216581)
> I assume this is how its discovering running applications with GUI windows open in a cross-platform manner.
The screen sharing functionality is handled by a mix of protocols of the windows manger and service
providers announced over dbus.
Even if you want to map GUI windows to processes you would do so by getting a list of windows from the window manager and getting the pid property of the windows, but if you have a list of windows you don't need to scan processes anymore...
There might (I'm not sure) be valid use-cases for this behaviour but I'm pretty confident screen sharing of specific windows isn't part of it.
The screen sharing functionality is handled by a mix of protocols of the windows manger and service providers announced over dbus.
Even if you want to map GUI windows to processes you would do so by getting a list of windows from the window manager and getting the pid property of the windows, but if you have a list of windows you don't need to scan processes anymore...
There might (I'm not sure) be valid use-cases for this behaviour but I'm pretty confident screen sharing of specific windows isn't part of it.