fix bug for sending visibility event 04/163304/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Fri, 8 Dec 2017 08:28:39 +0000 (17:28 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Fri, 8 Dec 2017 09:57:03 +0000 (18:57 +0900)
commit3941e1c841068493d4cf1ec58550b941fa9e02af
tree65972574c72a728db2115602589435e8f845069d
parenta90e273fa0246c2c7323f7a05b88123c3bbf1e17
fix bug for sending visibility event

There was a bug that the window which was waiting for rendering got the visibility
event sometimes as below.
"pre-unobscured -> fully-obscured -> unobscured"
For this, application's state changed to resume, pause, resume.
So, we fixed code not to send fully-obscured event when it is waiting for rendering.

However, the fully-obscured event is sent when the lcd is turned off.

Change-Id: Ifc400dfc3314407d6fe54b83f64cd40abcfb7eee
src/bin/e_client.c
src/bin/e_client.h
src/bin/e_policy_visibility.c
src/bin/e_policy_wl.c