dnd: Stop doing cancel animation in GTK+

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 13 December 2015 15:02 UTC

Under Wayland, the compositor does it, so there is no need for us to move the window ourselves. For X11, we are now doing the animation from the X11 backend. Trigger that by calling gdk_drag_drop_done().

What changes here is that we have to keep the icon_window alive for as long as the drag context exists. Use a weak reference to do so.

95f6481 dnd: Stop doing cancel animation in GTK+
gtk/gtkdnd.c | 110 ++++++++++++----------------------------------------------
1 file changed, 23 insertions(+), 87 deletions(-)

Upstream: git.gnome.org


  • Share