e_policy_visibility: reset vc->state to ICONIC while canceling visibility job 25/270225/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 26 Jan 2022 07:05:01 +0000 (16:05 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Thu, 27 Jan 2022 00:44:17 +0000 (09:44 +0900)
commit89e51f6e2d5f5e03db95972e735efa1aff0f18f5
tree2f79b941b2af73f9e008ac1eca55fdd84c138333
parent65b5a630890d744b8d580f3b3eb4cc70ff255439
e_policy_visibility: reset vc->state to ICONIC while canceling visibility job

There was a bug that the window's iconic_state_change event didn't send to the client
in _e_vis_client_add_uniconify_render_pending. This was because the vc->state was
remained to E_VIS_ICONIFY_STATE_RUNNING_UNICONIFY_RENDER_DONE.
This can be occurred when the uniconify_by_visibility job is canceled.

To resolve this problem, we add code to set the vc->state to E_VIS_ICONIFY_STATE_ICONIC
in uniconify_by_visibility job cancel function.

Change-Id: Ie2873be552b15cb3216f1d1dcc3f587807769cb4
src/bin/e_policy_visibility.c