diff --git a/gdk/wayland/gdkselection-wayland.c b/gdk/wayland/gdkselection-wayland.c index 80ff0475dd..b31af85139 100644 --- a/gdk/wayland/gdkselection-wayland.c +++ b/gdk/wayland/gdkselection-wayland.c @@ -381,6 +381,9 @@ data_offer_offer (void *data, if (!info || g_list_find (info->targets, atom)) return; + GDK_NOTE (EVENTS, + g_message ("data offer offer, offer %p, type = %s", wl_data_offer, type)); + info->targets = g_list_prepend (info->targets, atom); } @@ -416,6 +419,9 @@ data_offer_source_actions (void *data, drop_context->actions = _wl_to_gdk_actions (source_actions); + GDK_NOTE (EVENTS, + g_message ("data offer source actions, offer %p, actions %d", wl_data_offer, source_actions)); + if (gdk_drag_context_get_dest_window (drop_context)) _gdk_wayland_drag_context_emit_event (drop_context, GDK_DRAG_MOTION, GDK_CURRENT_TIME); @@ -463,6 +469,9 @@ primary_offer_offer (void *data, if (!info || g_list_find (info->targets, atom)) return; + GDK_NOTE (EVENTS, + g_message ("primary offer offer, offer %p, type = %s", gtk_offer, type)); + info->targets = g_list_prepend (info->targets, atom); }