summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_tty.c
diff options
context:
space:
mode:
authorSeunghun Lee <shiin.lee@samsung.com>2014-12-10 12:12:21 -0500
committerChris Michael <cp.michael@samsung.com>2014-12-10 12:12:21 -0500
commit5720a350f995c017efc1bf5d4472856dc7552962 (patch)
tree50d7b64923e69cba0b6d6e87b21330af5633eb3b /src/lib/ecore_drm/ecore_drm_tty.c
parent5d767aff32e42040da0dd6a5c4d70cff7139e1b2 (diff)
ecore-drm: Add event to notify session activation state.
Summary: this event is to notify session activation state to compositor. thus compositor can change composite state by this event. Reviewers: devilhorns Subscribers: torori, cedric Differential Revision: https://phab.enlightenment.org/D1767
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm_tty.c')
-rw-r--r--src/lib/ecore_drm/ecore_drm_tty.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_tty.c b/src/lib/ecore_drm/ecore_drm_tty.c
index 6b3652fbce..5e85a03a71 100644
--- a/src/lib/ecore_drm/ecore_drm_tty.c
+++ b/src/lib/ecore_drm/ecore_drm_tty.c
@@ -78,6 +78,8 @@ _ecore_drm_tty_cb_signal(void *data, int type EINA_UNUSED, void *event)
78 } 78 }
79 else 79 else
80 ERR("Could not drop drm master: %m"); 80 ERR("Could not drop drm master: %m");
81
82 _ecore_drm_event_activate_send(EINA_FALSE);
81 } 83 }
82 else if (ev->number == 2) 84 else if (ev->number == 2)
83 { 85 {
@@ -99,6 +101,8 @@ _ecore_drm_tty_cb_signal(void *data, int type EINA_UNUSED, void *event)
99 /* enable inputs */ 101 /* enable inputs */
100 EINA_LIST_FOREACH(dev->inputs, l, input) 102 EINA_LIST_FOREACH(dev->inputs, l, input)
101 ecore_drm_inputs_enable(input); 103 ecore_drm_inputs_enable(input);
104
105 _ecore_drm_event_activate_send(EINA_TRUE);
102 } 106 }
103 else 107 else
104 ERR("Could not acquire VT: %m"); 108 ERR("Could not acquire VT: %m");