Lately sharing screen is kind of necessary for me. And most of these apps are Chromium based. It works in Xorg sessions but Not Wayland. Is there any way to share screen and windows with apps like Discord or similar without logging out and changing sessions? I use laptop and Wayland is much better experience for me than Xorg. So if possible, I would like to remain in Wayland session.
It’s not so much an issue of XOrg vs Wayland as much as if the app is using a client or legacy API call to do it. Zoom, for example, was using (abusing, rather) the screenshot API to do it, which Gnome recently removed as unsafe and insecure. There are newer API calls that work with either. This isn’t really an electron issue, in and of itself, since you can share screen with Google Meet or Nextcloud Talk, etc, in a browser with Wayland, but rather if the application itself is using a current implementation or not.