ecore-wl2: Fix setting opaque region on a window
authorChris Michael <cp.michael@samsung.com>
Tue, 14 Feb 2017 14:58:49 +0000 (09:58 -0500)
committerChris Michael <cp.michael@samsung.com>
Tue, 14 Feb 2017 18:36:03 +0000 (13:36 -0500)
commit559490d7568bac10a9cfe2449ec4af29d8d6cfc0
tree20b503ed9a515aaac21a0e099caf8db75208cf36
parentb8beb6834b01f9688cb5e7aa177bacbc713318b9
ecore-wl2: Fix setting opaque region on a window

Previous code here would store incorrect values into the
window->opaque rectangle. These values should be what is actually
getting set in the wl_region. This code also fixes an issue when
setting opaque region for transparent/alpha windows by clearing out
any pending opaque region (wl_surface_set_opaque_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