e_client: Makes not consider the input region when dragging on AOT Launcher 48/313348/2
authorJunseok Kim <juns.kim@samsung.com>
Thu, 20 Jun 2024 09:36:02 +0000 (18:36 +0900)
committerJunSeok Kim <juns.kim@samsung.com>
Tue, 25 Jun 2024 03:16:58 +0000 (03:16 +0000)
Change-Id: I36b34cb984a47fe00bbab8c27d23eacf3eb788f2

src/bin/core/e_client.c

index 8be981b..adb292d 100644 (file)
@@ -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) */