ecore-wayland: Improve opaque setting logic.
authorChristopher Michael <cpmichael1@comcast.net>
Tue, 8 Jan 2013 07:21:32 +0000 (07:21 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Tue, 8 Jan 2013 07:21:32 +0000 (07:21 +0000)
commit67769cc39fed35080fe8c145ba7a9635124f77b9
treea76886367d497b6198c997e5ab0441691de1cc48
parenta8cc6e9e163cba4ef6bf359e5d7a53f275affe73
ecore-wayland: Improve opaque setting logic.

1. Update win->region.opaque in ecore_wl_window_update_size, so that
the opaque info is synced with the geometry.

2. Add win->surface checking in ecore_wl_window_buffer_attach
before send any wl_surface related request, it will avoid segfault
in case that calling ecore_wl_window_buffer_attach() before
ecore_wl_window_show().

SVN revision: 82384
src/lib/ecore_wayland/ecore_wl_window.c