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:
		@ -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;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user