diff options
author | Dudemanguy <random342@airmail.cc> | 2022-12-31 20:51:13 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-01-03 20:45:39 +0000 |
commit | aa8ddfcdf30c4ffb38f3ec5d6663bbabf0b7b4df (patch) | |
tree | c8090383cfee3c6a695e1958ed6b0195e6ff1ca6 /video/out/wayland_common.h | |
parent | 4bbb1ccfd75aa5f2a5d4674d86433d334b9f22c8 (diff) | |
download | mpv-aa8ddfcdf30c4ffb38f3ec5d6663bbabf0b7b4df.tar.bz2 mpv-aa8ddfcdf30c4ffb38f3ec5d6663bbabf0b7b4df.tar.xz |
wayland: dispatch and wait for compositor events in uninit
Similar to some other issues we've had with unprocessed compositor
events. When quitting mpv, there's two things we should be doing:
dispatching any last minute wayland events and then waiting for a
compositor reply. Luckily, there's already an internal helper for this
(renamed to wayland_dispatch_events for consistency) that we can use.
All of the special casing of wl->feedback becomes unneccesary and we can
remove this from vo_wayland_state with this method. Fixes #110022.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r-- | video/out/wayland_common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h index 4f505b903b..ef156f1fca 100644 --- a/video/out/wayland_common.h +++ b/video/out/wayland_common.h @@ -101,7 +101,6 @@ struct vo_wayland_state { /* presentation-time */ struct wp_presentation *presentation; - struct wp_presentation_feedback *feedback; struct mp_present *present; int64_t refresh_interval; bool use_present; |