e_policy_visibility: fix bug for sending pre-unobsucred event 96/190896/2 submit/tizen/20181010.230904
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 8 Oct 2018 10:51:40 +0000 (19:51 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 8 Oct 2018 10:59:10 +0000 (19:59 +0900)
commit8e62f20131da0d2525644d89dd8f876d68cf1e71
tree641711538d94d1b4c30ec1e72d280b1d9f8954a2
parent8a68c919917da9b7e69b3b0d97a67bad258e6581
e_policy_visibility: fix bug for sending pre-unobsucred event

There was a bug that the pre-unobscured event was sent to the window which was
obscured by alpha-opaque window.

[top] alpha-opaque window -> A win -> B win [bottom]

In above stack, when "A win" is lowered/hidden, then "B win" is chagned to uniconic
and must maintain its visibility to fully-obscured.
So, e must not send a pre-unobscured event to "B win".

But before this patch, e sent a pre-unobscured event to "B win".
We fixes this bug.

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