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
3070 .cursor_visible = true,3070 .cursor_visible = true,
3071 .opts_cache = m_config_cache_alloc(wl, vo->global, &vo_sub_opts),3071 .opts_cache = m_config_cache_alloc(wl, vo->global, &vo_sub_opts),
3072 };3072 };
3073 wl->pending_offer->fd = wl->dnd_offer->fd = wl->selection_offer->fd = -1;
3073 wl->opts = wl->opts_cache->opts;3074 wl->opts = wl->opts_cache->opts;
3074 3075
3075 wl_list_init(&wl->output_list);3076 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