summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2017-04-14 07:30:31 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2017-06-19 16:28:53 +0900
commit78e1eade2dd9daa457719484f99fc5b6ff18d33e (patch)
tree46068a7d2bed324b30add69ac901fd174ead8a9d /include
parent0c5da17afddb864b593e8ee6f94231caf932d856 (diff)
downloadapp-core-78e1eade2dd9daa457719484f99fc5b6ff18d33e.tar.gz
app-core-78e1eade2dd9daa457719484f99fc5b6ff18d33e.tar.bz2
app-core-78e1eade2dd9daa457719484f99fc5b6ff18d33e.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/appcore_multiwindow_base.h2
-rw-r--r--include/appcore_ui_base.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/appcore_multiwindow_base.h b/include/appcore_multiwindow_base.h
index b5604ed..fcb90c9 100644
--- a/include/appcore_multiwindow_base.h
+++ b/include/appcore_multiwindow_base.h
@@ -27,6 +27,7 @@ typedef struct _appcore_ui_base_window_ops {
void (*hide)(int type, void *event, void *data);
void (*lower)(int type, void *event, void *data);
void (*visibility)(int type, void *event, void *data);
+ void (*pre_visibility)(int type, void *event, void *data);
} appcore_ui_base_window_ops;
typedef struct _appcore_multiwindow_base_ops {
@@ -64,6 +65,7 @@ void appcore_multiwindow_base_window_on_show(int type, void *event);
void appcore_multiwindow_base_window_on_hide(int type, void *event);
void appcore_multiwindow_base_window_on_lower(int type, void *event);
void appcore_multiwindow_base_window_on_visibility(int type, void *event);
+void appcore_multiwindow_base_window_on_pre_visibility(int type, void *event);
void appcore_multiwindow_base_window_bind(appcore_multiwindow_base_instance_h h, Evas_Object *win);
appcore_multiwindow_base_class appcore_multiwindow_base_class_get_default(void);
diff --git a/include/appcore_ui_base.h b/include/appcore_ui_base.h
index 3ce7867..9359564 100644
--- a/include/appcore_ui_base.h
+++ b/include/appcore_ui_base.h
@@ -26,6 +26,7 @@ typedef struct _appcore_ui_base_window_ops {
void (*hide)(int type, void *event, void *data);
void (*lower)(int type, void *event, void *data);
void (*visibility)(int type, void *event, void *data);
+ void (*pre_visibility)(int type, void *event, void *data);
} appcore_ui_base_window_ops;
typedef struct _appcore_ui_base_ops {
@@ -57,6 +58,7 @@ void appcore_ui_base_window_on_show(int type, void *event);
void appcore_ui_base_window_on_hide(int type, void *event);
void appcore_ui_base_window_on_lower(int type, void *event);
void appcore_ui_base_window_on_visibility(int type, void *event);
+void appcore_ui_base_window_on_pre_visibility(int type, void *event);
int appcore_ui_base_init(appcore_ui_base_ops ops, int argc, char **argv,
void *data, unsigned int hint);
void appcore_ui_base_fini(void);