Commit f6196523 authored by Carlos Garnacho's avatar Carlos Garnacho

wayland: Allow 0-size writes in selection/dnd

It's not something we should be forbidding explicitly, definitely
no-op is not the best option.
parent 3da4b814
......@@ -667,8 +667,7 @@ gdk_wayland_selection_check_write (GdkWaylandSelection *selection)
AsyncWriteData *write_data;
if (selection->stored_selection.fd < 0 ||
selection->stored_selection.data_len == 0)
if (selection->stored_selection.fd < 0)
return FALSE;
/* Cancel any previous ongoing async write */
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