projects
/
platform
/
upstream
/
enlightenment.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
e_input: add checking TOUCH capability in e_input_device_pointer_xy_get()
[platform/upstream/enlightenment.git]
/
src
/
bin
/
e_input_device.c
diff --git
a/src/bin/e_input_device.c
b/src/bin/e_input_device.c
index
9833e7a
..
a3f8828
100644
(file)
--- a/
src/bin/e_input_device.c
+++ b/
src/bin/e_input_device.c
@@
-300,8
+300,8
@@
e_input_device_pointer_xy_get(E_Input_Device *dev, int *x, int *y)
{
EINA_LIST_FOREACH(seat->devices, ll, edev)
{
- if (!
libinput_device_has_capability(edev->device,
-
LIBINPUT_DEVICE_CAP_POINTER
))
+ if (!
(edev->caps & E_INPUT_SEAT_POINTER ||
+
edev->caps & E_INPUT_SEAT_TOUCH
))
continue;
if (x) *x = seat->ptr.dx;