Commit ec2257e5 authored by Carlos Garnacho's avatar Carlos Garnacho

wayland: Unset the source-side DnD fd after passing it to the stream

The ownership is given to the stream, so unset it here.
parent 1879de1f
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment