e_comp_wl_input: allow cursor_set if client is kvm service 46/318046/1
authorduna.oh <duna.oh@samsung.com>
Tue, 24 Sep 2024 03:01:54 +0000 (12:01 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Tue, 24 Sep 2024 04:24:57 +0000 (13:24 +0900)
Change-Id: I652b69c6843bd2cb0431ef883f3fabd6c7d56ad8

src/bin/server/e_comp_wl_input.c

index 11dd229..44702b1 100644 (file)
@@ -181,7 +181,8 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou
        surface = e_comp_wl_client_surface_get(ec);
        if (!surface) continue;
        if (client != wl_resource_get_client(surface)) continue;
-       if (ec->mouse.in && ec->pointer_enter_sent)
+       if ((ec->mouse.in && ec->pointer_enter_sent) ||
+           e_policy_client_is_kvm(ec))
          {
             got_mouse = EINA_TRUE;
             break;