Handle window pre visibility change event 98/125098/9
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 13 Apr 2017 22:30:31 +0000 (07:30 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 19 Jun 2017 07:28:53 +0000 (16:28 +0900)
commit78e1eade2dd9daa457719484f99fc5b6ff18d33e
tree46068a7d2bed324b30add69ac901fd174ead8a9d
parent0c5da17afddb864b593e8ee6f94231caf932d856
Handle window pre visibility change event

When getting ECORE_WL_WINDOW_VISIBILITY_TYPE_PRE_UNOBSCURED event,
an application is changed to the resume state.
This patch is for backward compatibility.

+---------------+--------------------------------------------------+
| Tizen version | Window state                                     |
+---------------+--------------------------------------------------+
| 2.x           | Pause -> Resume(visibility change) -> Render     |
+---------------+--------------------------------------------------+
| 3.0 (before)  | Pause -> Render -> Resume(visibility change)     |
+---------------+--------------------------------------------------+
| 3.0 (after)   | Pause -> Resume(pre visibility change) -> Render |
+---------------+--------------------------------------------------+

Change-Id: Ife2da19a8675a8cce8beb1392720f785c40e569f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
include/appcore_multiwindow_base.h
include/appcore_ui_base.h
src/multiwindow_base/appcore_multiwindow_base.c
src/multiwindow_base/appcore_multiwindow_base_private.h
src/multiwindow_base/appcore_multiwindow_base_window.c
src/ui_base/appcore_ui_base.c