ecore-wl2: Fix setting input region on a window
authorChris Michael <cp.michael@samsung.com>
Tue, 14 Feb 2017 16:31:57 +0000 (11:31 -0500)
committerChris Michael <cp.michael@samsung.com>
Tue, 14 Feb 2017 18:36:13 +0000 (13:36 -0500)
commit515c2d0374316239d0fee9fd24121ac987f447e4
treebde919ce31da904d30272b3f67bd8410ac56faf1
parent559490d7568bac10a9cfe2449ec4af29d8d6cfc0
ecore-wl2: Fix setting input region on a window

Previous code here would store incorrect values into the
window->input rectangle. These values should be what is actually
getting set in the wl_region. This code also fixes an issue when
setting input region for transparent/alpha windows by clearing out
any pending input region (wl_surface_set_input_region(surface, null)).

Reviewed-By: Derek Foreman <derekf@osg.samsung.com>
@fix

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