From: Carlos Garnacho Date: Sat, 28 Mar 2015 15:22:09 +0000 (+0100) Subject: gtkdnd: Restore widget opacity after fading out X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~24^2~9957 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cba2ecc0cc593d12f45d45b1e5ebb8705eb18a8e;p=gtk4.git gtkdnd: Restore widget opacity after fading out Otherwise the widget is left fully transparent, and will start as such if the widget is reused. --- diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 77ae6d739e..d2b3ca5b29 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -4002,6 +4002,7 @@ gtk_drag_remove_icon (GtkDragSourceInfo *info) if (info->icon_window) { gtk_widget_hide (info->icon_window); + gtk_widget_set_opacity (info->icon_window, 1.0); if (info->destroy_icon) gtk_widget_destroy (info->icon_window);