send correct connection value 17/84217/1
authorJunkyeong Kim <jk0430.kim@samsung.com>
Wed, 17 Aug 2016 10:16:10 +0000 (19:16 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Wed, 17 Aug 2016 10:16:15 +0000 (19:16 +0900)
Change-Id: Ia67750b2ee0690d4bd9151324efb2967a5b3cc7d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/e_mod_main.c

index 13f3226..f9f6b33 100644 (file)
@@ -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);
                }
           }