projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be69ae5
)
only perform drm shutdown during signal handler if drm engine is in use
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 23 Nov 2015 20:02:52 +0000
(15:02 -0500)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 23 Nov 2015 20:03:45 +0000
(15:03 -0500)
src/bin/e_signals.c
patch
|
blob
|
history
diff --git
a/src/bin/e_signals.c
b/src/bin/e_signals.c
index
b994580
..
9f1668d
100644
(file)
--- a/
src/bin/e_signals.c
+++ b/
src/bin/e_signals.c
@@
-6,7
+6,9
@@
#include "e.h"
#ifdef HAVE_WAYLAND
+# ifdef HAVE_WL_DRM
#include <Ecore_Drm.h>
+# endif
#endif
#ifdef HAVE_EXECINFO_H
@@
-69,9
+71,11
@@
_e_crash(void)
#ifdef HAVE_WAYLAND
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
{
+#ifdef HAVE_WL_DRM
const Eina_List *list, *l, *ll;
Ecore_Drm_Device *dev;
+ if (!strstr(ecore_evas_engine_name_get(e_comp->ee), "drm")) return;
list = ecore_drm_devices_get();
EINA_LIST_FOREACH_SAFE(list, l, ll, dev)
{
@@
-83,6
+87,7
@@
_e_crash(void)
}
ecore_drm_shutdown();
+#endif
return;
}
#endif