History

video/out/wayland_common: initialize offer fd

nanahi committed 2 years ago

Commit 33e297b1 parent 70e02e71 file · +1 −0Browse files

Unified · Split

video/out/wayland_common.c+1−0
@@ -3070,6 +3070,7 @@ bool vo_wayland_init(struct vo *vo) · 3069 unmodified lines
30703070 .cursor_visible = true,
30713071 .opts_cache = m_config_cache_alloc(wl, vo->global, &vo_sub_opts),
30723072 };
3073+ wl->pending_offer->fd = wl->dnd_offer->fd = wl->selection_offer->fd = -1;
30733074 wl->opts = wl->opts_cache->opts;
30743075
30753076 wl_list_init(&wl->output_list);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t