e_comp_wl: Don't trigger constraint lock/unlock if mouse in/out has no time
authorduna.oh <duna.oh@samsung.com>
Tue, 9 Apr 2024 08:02:42 +0000 (17:02 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 9 Apr 2024 08:47:39 +0000 (17:47 +0900)
commita1374d1cb3aa429eacb7605397c8bcffcddf40b0
tree0e1b5c7665fc6e8aa1d2afe50cba58977ace9b44
parentc9f88ce7e22c50915919e81ad0d5961bad71aa30
e_comp_wl: Don't trigger constraint lock/unlock if mouse in/out has no time

Mouse in/out events may occur without timestamps when calling
evas_event_feed_mouse_out/in() in functions like e_comp_ungrab_input, etc.
Since these events do not necessarily indicate that the mouse has entered or
exited Evas (the client application), it should not to trigger pointer
constraint lock/unlock based on these events alone.

Change-Id: I88a009fadc701687feb56573535405e38ba6a110
src/bin/e_comp_wl.c
src/bin/e_input_evdev.c