From 33aaff6561097653835b8ac394a9651da924a52e Mon Sep 17 00:00:00 2001 From: Taehyub Kim Date: Tue, 15 Mar 2022 18:43:36 -0700 Subject: [PATCH] DragAndDrop: disable default cursor while dragging Change-Id: I4f3a0b4bc34f6b7846800d8e01daf6c5d63b3b2b --- .../drag-and-drop/tizen-wayland/drag-and-drop-impl-ecore-wl2.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dali/internal/drag-and-drop/tizen-wayland/drag-and-drop-impl-ecore-wl2.cpp b/dali/internal/drag-and-drop/tizen-wayland/drag-and-drop-impl-ecore-wl2.cpp index 8f8d979..492210c 100644 --- a/dali/internal/drag-and-drop/tizen-wayland/drag-and-drop-impl-ecore-wl2.cpp +++ b/dali/internal/drag-and-drop/tizen-wayland/drag-and-drop-impl-ecore-wl2.cpp @@ -144,6 +144,9 @@ bool DragAndDropEcoreWl::StartDragAndDrop(Dali::Actor source, Dali::Actor shadow Ecore_Wl2_Display* display = ecore_wl2_connected_display_get(NULL); Ecore_Wl2_Input* input = ecore_wl2_input_default_input_get(display); + // Disable Default Cursor + ecore_wl2_input_pointer_set(input, NULL, 0, 0); + // Set mime type for drag and drop const char* mimeTypes[2]; mimeTypes[0] = mMimeType.c_str(); -- 2.7.4