SIGN IN SIGN UP

wayland: request frame callbacks on the topmost surface

Which is wl->video_surface for vo_dmabuf_wayland.

Listening on wl->surface results in freezes if it is occluded and
culled by the compositor. Which mutter does, and the wl_surface::frame
spec warns about:

> A server should avoid signaling the frame callbacks if the
> surface is not visible in any way, e.g. the surface is off-screen,
> or completely obscured by other opaque surfaces.
D
Daniel van Vugt committed
022790a2b49e4d21cb803842cb54958cca9c732e
Parent: 1f493b7
Committed by Dudemanguy <random342@airmail.cc> on 2/28/2023, 3:07:14 PM