Hacker News new | ask | show | jobs
by infomax 1901 days ago
Support for Wayland is getting up there. Just five days ago the bounty to support Wayland in Barrier was funded [1]

[1] https://github.com/debauchee/barrier/issues/109#issuecomment...

1 comments

> Support for Wayland is getting up there.

After almost 13 years of development the progress is rather embarrassing.

It's a hard problem to solve. Wouldn't you agree?
Taking screenshots/streaming is not a hard problem. However Wayland artificially turns something as simple as taking a screenshot into a hard problem what was before a simple function call to XGetImage(). As exercise I recommend to implement a native screenshot application in both X11 and Wayland.
I think you're completely ignoring the security implications of "a simple function call to XGetImage()".
What are the security implications? Programs that call XGetImage() when sandboxed in a Xpra/Xephyr session will get back nothing.
Will get nothing... that means the screenshot won't be taken.