summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkdnd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 42bf8f1187..d495ca9179 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -786,7 +786,10 @@ gtk_drag_can_use_rgba_cursor (GdkDisplay *display,
gint height)
{
guint max_width, max_height;
-
+
+ if (GDK_IS_WAYLAND_DISPLAY (display))
+ return FALSE;
+
if (!gdk_display_supports_cursor_color (display))
return FALSE;