Skip to content

Comment on OBS Studio Now Ready with Wayland Capture Supportparent

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.