e_comp_object: fix bug for sending "e,state,visible" signal 90/182490/1 accepted/tizen/unified/20180626.064846 submit/tizen/20180625.112455
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 25 Jun 2018 11:07:42 +0000 (20:07 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 25 Jun 2018 11:07:45 +0000 (20:07 +0900)
commitde587d802af1dc8324fe5e43571fc0de281351c8
treee9ebc865250660c8607dc2d1211388cb703dd662
parentcb9e34330ab5fccef8c792a1dda3f9a27b193667
e_comp_object: fix bug for sending "e,state,visible" signal

There was a bug that e sent "e,state,visible" when ec is iconic state in _e_comp_object_shadow_setup.
The effect module increased reference count and waiting for draw done event while handling "e,state,visible" event.
But if the window set to iconic state, it didn't draw and didn't send draw done event.
So, effect module's reference count couldnot be 0.

Change-Id: Id37d53f3d38b443e9c30aed10ed6448375e2868b
src/bin/e_comp_object.c