[gtk+] dnd: Prevent black background in icons



commit 28b97ff0e9a26f8a90417892e19cb1b3c08b3dc7
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Dec 2 00:03:11 2015 -0500

    dnd: Prevent black background in icons

 gtk/gtkdnd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index a525fd9..2d95e22 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -2670,7 +2670,7 @@ set_icon_helper (GdkDragContext     *context,
                                          gtk_widget_get_style_context (window),
                                          gdk_window_get_scale_factor (root));
   surface = gdk_window_create_similar_surface (root,
-                                               CAIRO_CONTENT_COLOR,
+                                               CAIRO_CONTENT_COLOR_ALPHA,
                                                width, height);
 
   cr = cairo_create (surface);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]