diff options
author | Dudemanguy <random342@airmail.cc> | 2024-05-21 20:04:27 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-05-22 14:08:01 +0000 |
commit | 1e1e365c18b4ab48a34228fa7dd46735f66f897f (patch) | |
tree | 947fd7a92e8e0e2281a589b7ef98e1eb49e87140 /gui/mplayer/gtk/eq.c | |
parent | 06ec0319dbd3edb44bf383a292bc412ce9a5d021 (diff) | |
download | mpv-1e1e365c18b4ab48a34228fa7dd46735f66f897f.tar.bz2 mpv-1e1e365c18b4ab48a34228fa7dd46735f66f897f.tar.xz |
wayland: use wl->callback_surface for idle inhibitor creation
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 'gui/mplayer/gtk/eq.c')
0 files changed, 0 insertions, 0 deletions