elementary: Avoid possibly setting opaque region twice
authorChris Michael <cp.michael@samsung.com>
Wed, 27 Jul 2016 12:08:00 +0000 (08:08 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 27 Jul 2016 12:08:00 +0000 (08:08 -0400)
commitbf414d8c542db32cb85d41dcbc88f97b38319474
tree30e02a0b2861017ecf46a828890ad9f50d91785b
parentccac110d712c8f035f79dcf8818a298f20a44494
elementary: Avoid possibly setting opaque region twice

Previously, if the window had no frame object, then this could would
have been setting opaque region twice (for the alpha case). We can
avoid this if we move the alpha check to below the frame check.

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