e_comp_wl: Don't send wl_pointer.leave if the client didn't get wl_pointer.enter 25/73925/4
authorDuna Oh <duna.oh@samsung.com>
Fri, 10 Jun 2016 05:30:50 +0000 (14:30 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 14 Jun 2016 04:59:24 +0000 (21:59 -0700)
commit7656f982527117f9fc6e631920bccc29fc0a5ff9
tree042958adcd2497aab58acc067f46d851cbd101c9
parent852132ca71b24fd45cd6c64cc5bd671597d247d0
e_comp_wl: Don't send wl_pointer.leave if the client didn't get wl_pointer.enter

Test Plan:
1. When the client gets mouse_in and there is no pointer device, so didn't send wl_pointer.enter to the client.
2. If pointer devices are plugged and the client gets mouse_out, then send wl_pointer.leave to the client -> this causes assertion fail on some client.

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I19a0765d0888cbd4a7725616f7cb4f5d6b953c2a
src/bin/e_client.c
src/bin/e_client.h
src/bin/e_comp_wl.c
src/bin/e_comp_wl_input.c