diff --git a/gdk/wayland/gdkselection-wayland.c b/gdk/wayland/gdkselection-wayland.c index 8a9d1ee825..e1dd69b96a 100644 --- a/gdk/wayland/gdkselection-wayland.c +++ b/gdk/wayland/gdkselection-wayland.c @@ -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 */