summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-01-13 22:03:00 -0600
committerDudemanguy <random342@airmail.cc>2023-01-13 22:23:49 -0600
commitf32c5586d65e85e488e24007d24ee6d75611b756 (patch)
tree2ba49240e52d31d64a5914075810db73b95e627a /video/out/wayland_common.h
parent73581d8fe68054103e2913bbac5f1629b1b0ce0c (diff)
downloadmpv-f32c5586d65e85e488e24007d24ee6d75611b756.tar.bz2
mpv-f32c5586d65e85e488e24007d24ee6d75611b756.tar.xz
Revert "wayland: dispatch and wait for compositor events in uninit"
This ended up being a bad idea. The problem is that it introduces ordering when destroying events (something we weren't worried about before) and Lynne pointed out a problem with the callback not also being destroyed before the surface in IRC. Just undo this and go with a different approach (next commit). P.S. the wayland_dispatch_events name change is kept though because I like that better. This reverts commit aa8ddfcdf30c4ffb38f3ec5d6663bbabf0b7b4df.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r--video/out/wayland_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h
index 94a8f2c96a..78fbc6158b 100644
--- a/video/out/wayland_common.h
+++ b/video/out/wayland_common.h
@@ -97,6 +97,7 @@ 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;