This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.

View the commit online.

commit 64e20e8a80be01fd612baaae99463beb2af4a96b
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Mon Jul 29 14:16:59 2024 +0100

    ecore-x: fix connector type get to actually work
    
    @fix
---
 src/lib/ecore_x/ecore_x_randr.c | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

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;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to