Hacker News new | ask | show | jobs
by sprash 1901 days ago
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.
1 comments

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.