File ecore_x_fix.patch of Package efl

diff --git a/src/lib/ecore_x/ecore_x_randr.c b/src/lib/ecore_x/ecore_x_randr.c
index 7c630c0fbe..90f8337982 100644
--- a/src/lib/ecore_x/ecore_x_randr.c
+++ b/src/lib/ecore_x/ecore_x_randr.c
@@ -3189,20 +3189,8 @@ ecore_x_randr_output_connector_type_get(Ecore_X_Window root EINA_UNUSED, Ecore_X
    /* try to get the output property from Xrandr */
    if ((info = XRRQueryOutputProperty(_ecore_x_disp, output, connector_type)))
      {
-        int ret = -1;
-
-        /* convert the current value */
-        if (info->num_values > 0)
-          ret = (int)(val - info->values[0]);
-
-        /* printf("\tReturn Value: %d\n", ret); */
-        /* printf("\t\tActual Name: %s\n",  */
-        /*        XGetAtomName(_ecore_x_disp, ((Atom)info->values[ret]))); */
-
-        /* free the info */
         free(info);
-
-        return ret;
+        return val;
      }
 #endif
    return -1;
openSUSE Build Service is sponsored by