summaryrefslogtreecommitdiffstats
path: root/video/out/gl_rpi.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2024-05-21 20:04:27 -0500
committerDudemanguy <random342@airmail.cc>2024-05-22 14:08:01 +0000
commit1e1e365c18b4ab48a34228fa7dd46735f66f897f (patch)
tree947fd7a92e8e0e2281a589b7ef98e1eb49e87140 /video/out/gl_rpi.c
parent06ec0319dbd3edb44bf383a292bc412ce9a5d021 (diff)
downloadmpv-master.tar.bz2
mpv-master.tar.xz
wayland: use wl->callback_surface for idle inhibitor creationHEADmaster
The idle inhibit protocol specifies that the compositor may ignore the idle inhibitor if the surface is occluded. In the case of vo_dmabuf_wayland, wl->surface corresponds to typical black bars when the video aspect ratio is different than the display's. So in many cases, wl->surface is actually occluded by wl->video_surface which sits above it. Change this so that the idle inhibitor is created on wl->callback_surface instead which is either wl->surface for the gpu VOs or wl->video_surface for vo_dmabuf_wayland. Fixes #14206.
Diffstat (limited to 'video/out/gl_rpi.c')
0 files changed, 0 insertions, 0 deletions