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:
Carlos Garnacho 2016-03-09 17:25:33 +01:00
parent 1879de1f17
commit ec2257e53c

View File

@ -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;
}