From 49b223a4341feeea6e56249d8713e75741a4c79d Mon Sep 17 00:00:00 2001 From: Junkyeong Kim Date: Wed, 17 Aug 2016 19:16:10 +0900 Subject: [PATCH] send correct connection value Change-Id: Ia67750b2ee0690d4bd9151324efb2967a5b3cc7d Signed-off-by: Junkyeong Kim --- src/e_mod_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/e_mod_main.c b/src/e_mod_main.c index 13f3226..f9f6b33 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -346,7 +346,7 @@ _e_eom_cb_ecore_drm_output(void *data EINA_UNUSED, int type EINA_UNUSED, void *e Ecore_Drm_Event_Output *e = NULL; char buff[PATH_MAX]; - if (!(e = event)) return ECORE_CALLBACK_PASS_ON; + if (!(e = event)) return ECORE_CALLBACK_PASS_ON; EOM_DBG("id:%d (x,y,w,h):(%d,%d,%d,%d) (w_mm,h_mm):(%d,%d) refresh:%d subpixel_order:%d transform:%d make:%s model:%s name:%s plug:%d", e->id, e->x, e->y, e->w, e->h, e->phys_width, e->phys_height, e->refresh, e->subpixel_order, e->transform, e->make, e->model, e->name, e->plug); @@ -712,7 +712,7 @@ _e_eom_output_connected(E_EomOutputPtr eom_output) eom_output->type, eom_output->mode, eom_output->width, eom_output->height, eom_output->phys_width, eom_output->phys_height, - eom_output->status, + WL_EOM_STATUS_CONNECTION, 0, _e_eom_output_state_get_attribute(eom_output), EOM_OUTPUT_ATTRIBUTE_STATE_ACTIVE, @@ -722,7 +722,7 @@ _e_eom_output_connected(E_EomOutputPtr eom_output) eom_output->type, eom_output->mode, eom_output->width, eom_output->height, eom_output->phys_width, eom_output->phys_height, - eom_output->status, + WL_EOM_STATUS_CONNECTION, 1, 0, 0, 0); } } @@ -809,7 +809,7 @@ _e_eom_cb_tdm_output_status_change(tdm_output *output, tdm_output_change_type ty eom_output->type, eom_output->mode, eom_output->width, eom_output->height, eom_output->phys_width, eom_output->phys_height, - eom_output->status, + WL_EOM_STATUS_DISCONNECTION, 0, _e_eom_output_state_get_attribute(eom_output), EOM_OUTPUT_ATTRIBUTE_STATE_INACTIVE, @@ -819,7 +819,7 @@ _e_eom_cb_tdm_output_status_change(tdm_output *output, tdm_output_change_type ty eom_output->type, eom_output->mode, eom_output->width, eom_output->height, eom_output->phys_width, eom_output->phys_height, - eom_output->status, + WL_EOM_STATUS_DISCONNECTION, 1, 0, 0, 0); } } -- 2.7.4