mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
wayland: Unset the source-side DnD fd after passing it to the stream
The ownership is given to the stream, so unset it here.
This commit is contained in:
parent
1879de1f17
commit
ec2257e53c
@ -597,6 +597,8 @@ async_write_data_new (GdkWaylandSelection *selection)
|
||||
write_data->stream =
|
||||
g_unix_output_stream_new (selection->stored_selection.fd, TRUE);
|
||||
|
||||
selection->stored_selection.fd = -1;
|
||||
|
||||
return write_data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user