Closed rmasad closed 4 months ago
Hi @rmasad. AFAIK, this is a known issue for sway. Wayland currently lacks a protocol that allows for sharing windows. This comment tracks the status / progress for window sharing.
Currently the best workaround for this is to create a headless display and share that instead of one of your physical monitors. You can then move any windows you want to share.
As a side note, sway 1.9 is availabe in noble
as part of regolith 3.2 beta 1
release. Although it is unlikely to fix this, you can still give it a try. https://regolith-desktop.com/docs/reference/Releases/regolith-3.2-release-notes/
Reading the threads on the topic, have you analyzed Regolith+hyprland? It looks like a version of sway with fewer problems.
The regolith ecosystem was originally built mainly around i3
as the window manager. sway
, being as close to a drop-in as possible, made creating a functionally equivalent desktop environment reasonably straightforward. Another benefit of sticking with sway is the stability / backwards compatibility it provides. It has been in development since almost 9-10 years now. In comparison, the development effort required to keep up with Hyprland would probably be significantly more, given its rapid development speed.
That said, imagining a Hyprland
based version of Regolith is not entirely impossible. I have occasionally considered trying this out as a hobby project, but it would require a lot more time and effort than any of us can spare.
Thanks @SoumyaRanjanPatnaik
Sway Version: 1.8
Description: I have encountered a significant issue while attempting to share a specific window from Chrome during video calls or screen sharing sessions (like Google Meets). Instead of sharing just the selected Chrome window, the entire screen gets shared, including all open applications and desktop activities. This problem specifically occurs when trying to share a window; however, sharing a single tab within Chrome or the entire screen functions as expected. This issue raises privacy concerns and limits the flexibility needed during presentations or collaborative work sessions.
Steps to Reproduce:
Expected Behavior: Only the selected Chrome window should be shared with participants, hiding any other applications or desktop activities.
Actual Behavior: The entire screen is shared instead of just the selected Chrome window, displaying all open applications and desktop activities to the participants.