ecore-wayland: Don't send a mouse_up on grab release unless we
authorChris Michael <cp.michael@samsung.com>
Fri, 23 Jan 2015 21:00:03 +0000 (16:00 -0500)
committerChris Michael <cp.michael@samsung.com>
Fri, 23 Jan 2015 21:01:08 +0000 (16:01 -0500)
commitc6e70107dcaff51ca782ed747fbc574e3ab9bb62
tree2978feed2749824025319f2feea603af9c12d8b4
parent40cb2cd3d44e3266b7a50a3c64626034da2817e4
ecore-wayland: Don't send a mouse_up on grab release unless we
actually have a grabbed button

Summary: If we don't have an actual grabbed mouse button, then don't
send a mouse up event. Caught this while adding e_grabinput support to
Enlightenment.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_wayland/ecore_wl_input.c