e_input: add checking TOUCH capability in e_input_device_pointer_xy_get() 94/292694/1
authorduna.oh <duna.oh@samsung.com>
Thu, 11 May 2023 08:30:49 +0000 (17:30 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 11 May 2023 09:42:32 +0000 (18:42 +0900)
commit5f78e8929de0d94885804fdb2117048a1af84e12
treefbefa9a1dbf877b37dd8c22e47300a5316a391a3
parente808ca5a899cc67b6a90ba7102759d2f695e4912
e_input: add checking TOUCH capability in e_input_device_pointer_xy_get()

seat->ptr.x/y could be updated by TOUCH or POINTER device.
This patch fixes the bug that if no POINTER device is attached, user couldn't
get the right values of ptr.x/y.

Change-Id: I9a8c7b708882a30a81a02db6ad6f4d2a4a87aed8
src/bin/e_input_device.c