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



commit 771149e19a81fce3ff7a820412376cd8cfe5c069
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jan 8 15:38:02 2016 -0500

    wayland: 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/wayland/gdkcursor-wayland.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkcursor-wayland.c b/gdk/wayland/gdkcursor-wayland.c
index bdfa316..4f93817 100644
--- a/gdk/wayland/gdkcursor-wayland.c
+++ b/gdk/wayland/gdkcursor-wayland.c
@@ -100,6 +100,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]