[gtk+] Don't force an icon window



commit 3ae953092a4089c6073d1df1546e50daf7099e4c
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 16 23:55:09 2015 -0400

    Don't force an icon window
    
    We were inadvertently forcing the use of an icon window
    in all cases. This patch makes it so that we once again
    use a combined cursor when possible.

 gtk/gtkdnd.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 94cc3f2..59b883d 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -2517,8 +2517,7 @@ gtk_drag_begin_internal (GtkWidget         *widget,
   if (!info->icon_window && !info->icon_helper)
     {
       info->icon_helper = gtk_drag_source_site_get_icon_helper (site);
-      set_icon_helper (info->context, info->icon_helper,
-                       0, 0, TRUE);
+      set_icon_helper (info->context, info->icon_helper, 0, 0, FALSE);
     }
 
   /* We need to composite the icon into the cursor, if we are


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