diff --git a/gdk/wayland/gdkdnd-wayland.c b/gdk/wayland/gdkdnd-wayland.c index 71e8e49764..9936e54c49 100644 --- a/gdk/wayland/gdkdnd-wayland.c +++ b/gdk/wayland/gdkdnd-wayland.c @@ -236,7 +236,8 @@ gdk_wayland_drag_context_drop_reply (GdkDragContext *context, gboolean accepted, guint32 time_) { - gdk_wayland_drop_context_set_status (context, accepted); + if (!accepted) + gdk_wayland_drop_context_set_status (context, accepted); } static void