summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elput/elput_input.c')
-rw-r--r--src/lib/elput/elput_input.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/elput/elput_input.c b/src/lib/elput/elput_input.c
index 1dde85aa88..706e4f7567 100644
--- a/src/lib/elput/elput_input.c
+++ b/src/lib/elput/elput_input.c
@@ -425,6 +425,16 @@ elput_input_pointer_xy_get(Elput_Manager *manager, const char *seat, int *x, int
425 continue; 425 continue;
426 if (x) *x = eseat->ptr->x; 426 if (x) *x = eseat->ptr->x;
427 if (y) *y = eseat->ptr->y; 427 if (y) *y = eseat->ptr->y;
428 return;
429 }
430
431 EINA_LIST_FOREACH(manager->input.seats, l, eseat)
432 {
433 if (!eseat->touch) continue;
434 if ((eseat->name) && (strcmp(eseat->name, seat)))
435 continue;
436 if (x) *x = eseat->touch->x;
437 if (y) *y = eseat->touch->y;
428 break; 438 break;
429 } 439 }
430} 440}