forked from AuroraMiddleware/gtk
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:
parent
ec65c6d1ce
commit
26f9d6b1c1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user