projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6cafa1
)
gtkdnd: Restore widget opacity after fading out
author
Carlos Garnacho
<carlosg@gnome.org>
Sat, 28 Mar 2015 15:22:09 +0000
(16:22 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Sun, 29 Mar 2015 20:57:31 +0000
(22:57 +0200)
Otherwise the widget is left fully transparent, and will start as such if
the widget is reused.
gtk/gtkdnd.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd.c
b/gtk/gtkdnd.c
index 77ae6d739e51f1dc84f9d13d3281ba3b7d76caf7..d2b3ca5b29d85676da806e6e558ab8b915333984 100644
(file)
--- 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);