DND with gdk on gtk 3.20+


I am trying to fix openjfx (java UI toolkit) drag and drop on gtk-3:

The fix works for gtk before 3.20, but does not on 3.20+.

I am having trouble getting the GDK_DROP_FINISHED event. It does not fire on 3.20+, but does on earlier versions.

Looking at wayland gdk dnd code, it’s not even there (might have missed it), but it’s there for gdk X11 code.

I cannot use the Gdk 3.20 managed version of dnd.

Is this event gone?


This seems to work:

        g_signal_connect (get_drag_context(), "dnd-finished",
                          G_CALLBACK (dnd_finish_callback), NULL);

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.