Hacker News new | ask | show | jobs
by yobert 1901 days ago
It's a hard problem to solve. Wouldn't you agree?
1 comments

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.