forked from AuroraMiddleware/gtk
wayland: Add some more debug spew
This commit is contained in:
parent
ae720784d9
commit
b8f464e102
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user