aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_x/ecore_x_fixes.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:15:04 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commit4eeb4e8706305002a20b96ca83bc935bb1a4c3d9 (patch)
tree45b25d61d603b267cb64d637d782b4e092c3cf64 /src/lib/ecore_x/ecore_x_fixes.c
parentecore_wl2: avoid crash during shutdown due to Ecore_Event queue. (diff)
downloadefl-4eeb4e8706305002a20b96ca83bc935bb1a4c3d9.tar.gz
ecore_x: avoid crash during shutdown due to Ecore_Event queue.
Diffstat (limited to 'src/lib/ecore_x/ecore_x_fixes.c')
-rw-r--r--src/lib/ecore_x/ecore_x_fixes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_x/ecore_x_fixes.c b/src/lib/ecore_x/ecore_x_fixes.c
index 012e458743..30432354d5 100644
--- a/src/lib/ecore_x/ecore_x_fixes.c
+++ b/src/lib/ecore_x/ecore_x_fixes.c
@@ -27,7 +27,8 @@ _ecore_x_fixes_init(void)
{
_fixes_available = 1;
- ECORE_X_EVENT_FIXES_SELECTION_NOTIFY = ecore_event_type_new();
+ if (ECORE_X_EVENT_FIXES_SELECTION_NOTIFY == 0)
+ ECORE_X_EVENT_FIXES_SELECTION_NOTIFY = ecore_event_type_new();
}
else
_fixes_available = 0;