e_comp_wl: fix cursor flickering when mouse_out occurs 59/290659/1
authorduna.oh <duna.oh@samsung.com>
Thu, 30 Mar 2023 06:08:00 +0000 (15:08 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 30 Mar 2023 08:17:15 +0000 (17:17 +0900)
commitc7b4cc22c266f6c9a5f1726490e4fd5d28ef352c
tree8b3be467ebe5ac1f17ee6db68e61c34df14dce13
parent44b178f93a51f7a8aad10fa607090a574f86bd7f
e_comp_wl: fix cursor flickering when mouse_out occurs

Showing and hiding a cursor is request-triggered operation by clients.
Hiding a cursor when mouse_out occurs is unnecessary server-side operation
and causes cursor flickering when mouse moves between apps.

Scenarios:
1. When mouse moves between cursor-supported apps (App 1 & App 2), App 2
sets its cursor and E20 hides an old cursor and shows a new one.

2 When mouse moves from a cursor-supported app to a cursor-unsupported app,
the cursor-unsupported app sets its cursor as null and E20 hides a cursor.

Change-Id: I3e15fd821064aa819f93eaed664c7d700a46b05a
src/bin/e_comp_wl.c