From 33e297bd8f3ef26c4e6e7300d9d9fc71833487d7 Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Wed, 13 Nov 2024 18:31:05 -0500 Subject: [PATCH] video/out/wayland_common: initialize offer fd --- video/out/wayland_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 82052ed8d9622..fd1213693fba5 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -3070,6 +3070,7 @@ bool vo_wayland_init(struct vo *vo) .cursor_visible = true, .opts_cache = m_config_cache_alloc(wl, vo->global, &vo_sub_opts), }; + wl->pending_offer->fd = wl->dnd_offer->fd = wl->selection_offer->fd = -1; wl->opts = wl->opts_cache->opts; wl_list_init(&wl->output_list);