From 9b22d1094a2637b9c633ec807adce434b37a4e4f Mon Sep 17 00:00:00 2001 From: Junseok Kim Date: Thu, 20 Jun 2024 18:36:02 +0900 Subject: [PATCH] e_client: Makes not consider the input region when dragging on AOT Launcher Change-Id: I36b34cb984a47fe00bbab8c27d23eacf3eb788f2 --- src/bin/core/e_client.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/bin/core/e_client.c b/src/bin/core/e_client.c index 8be981b..adb292d 100644 --- a/src/bin/core/e_client.c +++ b/src/bin/core/e_client.c @@ -1924,6 +1924,16 @@ _e_client_under_pointer_input_helper(E_Desk *desk, int x, int y) inside = EINA_TRUE; } + if (!inside && + (e_client_aot_type_get(cec) == E_AOT_TYPE_LAUNCHER) && + E_INSIDE(x, y, cx, cy, cw, ch)) + { + /* AOT Launcher needs to unset their input rect to hand over the input to the waydroid surface. + However, for handling Drag & Drop, the AOT Launcher needs to receive the wl_data protocol. + So, inside flag set to AOT Launcher. */ + inside = EINA_TRUE; + } + if (!inside) continue; /* If the layer is higher, the position of the window is higher * (always on top vs always below) */ -- 2.7.4