News for hackers. Stuff that matters.
Re:OBS Studio Now Ready with Wayland Capture Support by yobert on Wednesday March 31, 2021 @10:59AM (#26648154)
It's a hard problem to solve. Wouldn't you agree?
Re:OBS Studio Now Ready with Wayland Capture Support by sprash on Wednesday March 31, 2021 @11:09AM (#26648282)
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.
Re:OBS Studio Now Ready with Wayland Capture Support by marcodiego on Wednesday March 31, 2021 @11:45AM (#26648726)
I think you're completely ignoring the security implications of "a simple function call to XGetImage()".
Re:OBS Studio Now Ready with Wayland Capture Support by sprash on Wednesday March 31, 2021 @12:00PM (#26648898)
What are the security implications? Programs that call XGetImage() when sandboxed in a Xpra/Xephyr session will get back nothing.
Re:OBS Studio Now Ready with Wayland Capture Support by marcodiego on Wednesday March 31, 2021 @12:49PM (#26649603)
Will get nothing... that means the screenshot won't be taken.