aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_evas/ecore_evas_ews.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:11:07 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commit0cd43b45d9fed2915dd8f91f57c003bd569b8160 (patch)
tree800ba367d00a915d9810e4b032a19c6a2a86b0a6 /src/lib/ecore_evas/ecore_evas_ews.c
parentecore_drm: avoid crash during shutdown due to Ecore_Event queue. (diff)
downloadefl-0cd43b45d9fed2915dd8f91f57c003bd569b8160.tar.gz
ecore_evas: avoid crash during shutdown due to Ecore_Event queue.
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas_ews.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas_ews.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_ews.c b/src/lib/ecore_evas/ecore_evas_ews.c
index 199c1d8507..d67fa16563 100644
--- a/src/lib/ecore_evas/ecore_evas_ews.c
+++ b/src/lib/ecore_evas/ecore_evas_ews.c
@@ -705,6 +705,28 @@ _ecore_evas_ews_events_init(void)
ECORE_EVAS_EWS_EVENT_CONFIG_CHANGE = ecore_event_type_new();
}
+void
+_ecore_evas_ews_events_flush(void)
+{
+ ecore_event_type_flush(ECORE_EVAS_EWS_EVENT_MANAGER_CHANGE,
+ ECORE_EVAS_EWS_EVENT_ADD,
+ ECORE_EVAS_EWS_EVENT_DEL,
+ ECORE_EVAS_EWS_EVENT_RESIZE,
+ ECORE_EVAS_EWS_EVENT_MOVE,
+ ECORE_EVAS_EWS_EVENT_SHOW,
+ ECORE_EVAS_EWS_EVENT_HIDE,
+ ECORE_EVAS_EWS_EVENT_FOCUS,
+ ECORE_EVAS_EWS_EVENT_UNFOCUS,
+ ECORE_EVAS_EWS_EVENT_RAISE,
+ ECORE_EVAS_EWS_EVENT_LOWER,
+ ECORE_EVAS_EWS_EVENT_ACTIVATE,
+ ECORE_EVAS_EWS_EVENT_ICONIFIED_CHANGE,
+ ECORE_EVAS_EWS_EVENT_MAXIMIZED_CHANGE,
+ ECORE_EVAS_EWS_EVENT_LAYER_CHANGE,
+ ECORE_EVAS_EWS_EVENT_FULLSCREEN_CHANGE,
+ ECORE_EVAS_EWS_EVENT_CONFIG_CHANGE);
+}
+
static int
_ecore_evas_ews_init(void)
{