projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aad8b61
)
ecore_drm_tty:Do not add user signal event handler,
88/63888/2
accepted/tizen/common/20160329.050922
accepted/tizen/ivi/20160328.115833
accepted/tizen/mobile/20160328.115628
accepted/tizen/tv/20160328.115723
accepted/tizen/wearable/20160328.115827
submit/tizen/20160328.094850
author
Changyeon Lee
<cyeon.lee@samsung.com>
Mon, 28 Mar 2016 08:53:16 +0000
(17:53 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Mon, 28 Mar 2016 08:58:52 +0000
(17:58 +0900)
if ECORE_DRM_TTY_HANDLE_SIGUSR isn't set
Change-Id: I50fbed4636bd2e331a3dc162b9af71ba9b65945e
src/lib/ecore_drm/ecore_drm_tty.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm/ecore_drm_tty.c
b/src/lib/ecore_drm/ecore_drm_tty.c
index 9907a613679c659c2479eb36cec0b8b34db4a4bf..1408968fc1749a393ee41389677d23f09c910d7f 100644
(file)
--- a/
src/lib/ecore_drm/ecore_drm_tty.c
+++ b/
src/lib/ecore_drm/ecore_drm_tty.c
@@
-183,9
+183,12
@@
ecore_drm_tty_open(Ecore_Drm_Device *dev, const char *name)
return EINA_FALSE;
}
- dev->tty.event_hdlr =
- ecore_event_handler_add(ECORE_EVENT_SIGNAL_USER,
- _ecore_drm_tty_cb_vt_signal, dev);
+ if (getenv("ECORE_DRM_TTY_HANDLE_SIGUSR"))
+ {
+ dev->tty.event_hdlr =
+ ecore_event_handler_add(ECORE_EVENT_SIGNAL_USER,
+ _ecore_drm_tty_cb_vt_signal, dev);
+ }
/* set current tty into env */
setenv("ECORE_DRM_TTY", tty, 1);