dragicon: No events, please

We run into trouble on X11 if the widgets
in the drag icon have drop targets attached.
Prevent this by suppressing event delivery
to drag icons outright.
This commit is contained in:
Matthias Clasen 2021-12-12 21:28:34 -05:00
parent af2a172197
commit bbb1404bd3

View File

@ -386,6 +386,7 @@ gtk_drag_icon_class_init (GtkDragIconClass *klass)
static void static void
gtk_drag_icon_init (GtkDragIcon *self) gtk_drag_icon_init (GtkDragIcon *self)
{ {
gtk_widget_set_can_target (GTK_WIDGET (self), FALSE);
} }
/** /**