e_comp_wl: Unlock pointer constraint when listening to mouse out signal 11/308511/1
authorduna.oh <duna.oh@samsung.com>
Tue, 26 Mar 2024 08:23:45 +0000 (17:23 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 27 Mar 2024 01:16:29 +0000 (10:16 +0900)
commit6863d2122b71dcd0f11e3a964bc66f6edc2f6ec6
tree00c64fc2f2c9e730f68102d3275895a59f67a85b
parentaccb966903f1f2ff11f10aa3dfbd640e7756d4c6
e_comp_wl: Unlock pointer constraint when listening to mouse out signal

A bug has been identified in a client app, such as 'tv-viewer'. It has
an empty area where there is no evas and mouse IN does not occur.
If the unlock (deactivate pointer constraint lock) is only triggered
by the mouse IN signal, the unlock is not performed in this case.
This patch adds a mouse OUT signal and the unlock is triggered by the
mouse out signal instead.

< AS-IS >
MOUSE OUT from browser
MOUSE IN to edge (requested lock)--> mouse in signal --> activate

MOUSE OUT from edge
MOUSE IN to browser --> mouse in signal --> deactivate

< TO-BE >
MOUSE OUT from browser --> mouse out signal
MOUSE IN to edge --> mouse in signal --> activate

MOUSE OUT from edge --> mouse out signal --> deactivate
MOUSE IN to browser --> mouse in signal

Change-Id: I27c8df332917eb06b4aa8ad9047ab8efd8eff3c6
src/bin/e_comp_wl.c
src/bin/e_comp_wl_input.c
src/include/e_comp_wl.h