[gtk+] x11: Ensure we have a dnd-ask cursor



commit 04a9b5b5f84cabc214efd585f3a2c7c7e90a9b88
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jan 8 15:37:10 2016 -0500

    x11: Ensure we have a dnd-ask cursor
    
    We use this for DND, so make sure that we fall back to some other
    cursor if this one isn't present.

 gdk/x11/gdkcursor-x11.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index 03d49ba..3cce62f 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -624,6 +624,7 @@ static const struct {
   { "copy",         "dnd-copy" },
   { "move",         "dnd-move" },
   { "no-drop",      "dnd-none" },
+  { "dnd-ask",      "dnd-copy" }, /* not CSS, but we want to guarantee it anyway */
   { "not-allowed",  "crossed_circle" },
   { "grab",         "hand2" },
   { "grabbing",     "hand2" },


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