gtkdnd: Ensure we don't fold the drag icon into the cursor on wayland

This is wrong by all accounts there, as we can do no tricks there to show
a "drag failed" animation, which is performed by the compositor itself
on wayland.
This commit is contained in:
Carlos Garnacho 2015-11-19 20:33:03 +01:00
parent ec65c6d1ce
commit 26f9d6b1c1

View File

@ -787,6 +787,9 @@ gtk_drag_can_use_rgba_cursor (GdkDisplay *display,
{
guint max_width, max_height;
if (GDK_IS_WAYLAND_DISPLAY (display))
return FALSE;
if (!gdk_display_supports_cursor_color (display))
return FALSE;