Skip to content

Commit

Permalink
video/out/wayland_common: initialize offer fd
Browse files Browse the repository at this point in the history
  • Loading branch information
na-na-hi authored and kasper93 committed Nov 22, 2024
1 parent 70e02e7 commit 33e297b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions video/out/wayland_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 33e297b

Please sign in to comment.