e_comp_wl: No need to check client is focused before relative motion send
authorJunseok Kim <juns.kim@samsung.com>
Thu, 17 Aug 2023 12:23:11 +0000 (21:23 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 18 Aug 2023 05:32:05 +0000 (14:32 +0900)
Change-Id: Id70a8164a8eb317e25f4059ddc95ce2aacaebf3e

src/bin/e_comp_wl.c

index 7d4311b..77042e6 100644 (file)
@@ -4805,9 +4805,6 @@ e_comp_wl_mouse_relative_motion_send(E_Client *ec,
    struct wl_resource *surface = e_comp_wl_client_surface_get(ec);
    EINA_SAFETY_ON_NULL_RETURN_VAL(surface, EINA_FALSE);
 
-   E_Client *focused = e_client_focused_get();
-   if ((focused) && (ec != focused)) return EINA_FALSE;
-
    wc = wl_resource_get_client(surface);
    EINA_LIST_FOREACH(e_comp_wl->relative_ptr.resources, l, res)
      {