Originally posted by oiaohm
View Post
That's what you want in 99% of cases. Either that, or grabbing the entire screen of course, which again X11 can do, but it's better to just grab the framebuffer and avoid round-trips to X (this bypasses Wayland's "security" too btw).
How do you even record "specific applications" windows? What happens if they're not in a rectangular shape because they're moved in weird shapes on top of each other? What's visible "behind" them? Black? I legit never seen anyone ever "record an application" this way, it's either a window, or the entire screen. But fair enough.
I guess you could do that on X11 by just querying application windows and then grabbing the windows themselves, taking care to composite them yourself. I don't think anyone really does that though.
Comment