efl/src/lib/ecore_wl2
Wonki Kim b376391078 wl2_input: fix a problem that occurs in case of using both pointer/touch input devices
Summary:
if wl2_input logic gets a 'touch down' event from touch device,
input->focus.touch has set and it cause the logic handles every input as touch input
from that moment at _ecore_wl2_input_mouse_move_send function.
that is the reason why the patch(410c1f9587) has written for.

however, if there are multiple touch input devices,
clearing focus.touch variable without checking any conditions causes another problem.

I mean a case such as 'touch 1 down' -> 'touch 2 down' -> 'touch 1 up' -> 'touch 2 up'
at the moment 'touch 1 up' event executed, focus.touch would be cleared,
and 'touch 2 up' and following touch events will not be executed properly at the moment.

this patch counts a number of touch devices which are grabbing to clear focus.touch at proper time.

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8787
2019-04-30 11:27:25 -04:00
..
Ecore_Wl2.h docs: Fix common misspellings in H files 2019-04-02 13:28:48 +02:00
ecore_wl2.c ecore-wl2: Minor formatting fixes 2019-04-29 09:58:05 -04:00
ecore_wl2_buffer.c ecore_wl2: Better error handling for dmabuf sync ioctls 2018-06-19 13:43:55 -04:00
ecore_wl2_display.c ecore-wl2: Minor formatting fixes 2019-04-29 09:59:17 -04:00
ecore_wl2_dnd.c ecore_wl2_dnd: initialize source to NULL when it destroy 2018-11-15 09:11:38 -05:00
ecore_wl2_input.c wl2_input: fix a problem that occurs in case of using both pointer/touch input devices 2019-04-30 11:27:25 -04:00
ecore_wl2_output.c ecore_wl2: Add internal _ecore_wl2_output_find 2018-01-30 17:09:51 -06:00
ecore_wl2_private.h wl2_input: fix a problem that occurs in case of using both pointer/touch input devices 2019-04-30 11:27:25 -04:00
ecore_wl2_subsurf.c wayland: Reduce number of unneccessary display flushes 2018-01-19 12:40:40 -06:00
ecore_wl2_surface.c ecore_wl2: Replace window ids with pointers 2018-07-06 10:16:21 -04:00
ecore_wl2_window.c ecore_wl2: Convert frame callbacks to inlist 2019-01-15 13:47:17 -06:00
meson.build meson: refactor meson.build for ecore_wl2 2019-01-10 10:57:42 +01:00
window_v6.x ecore_wl2: Fix anchor for xdg pop-ups 2018-12-14 10:29:59 -06:00