From a7382dacfa56fd7fd3e98c06f6693612cc9fc5d4 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Tue, 5 Nov 2013 09:39:51 +0100 Subject: [PATCH] ecore_x: get correct property Since the function is ecore_x_randr_output_connector_type_get, I guess we want RR_PROPERTY_CONNECTOR_TYPE, not RR_PROPERTY_CONNECTOR_NUMBER. --- src/lib/ecore_x/xlib/ecore_x_randr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_x/xlib/ecore_x_randr.c b/src/lib/ecore_x/xlib/ecore_x_randr.c index e05ca09..0128ca9 100644 --- a/src/lib/ecore_x/xlib/ecore_x_randr.c +++ b/src/lib/ecore_x/xlib/ecore_x_randr.c @@ -3105,7 +3105,7 @@ ecore_x_randr_output_connector_type_get(Ecore_X_Window root EINA_UNUSED, Ecore_X if (_randr_version < RANDR_VERSION_1_3) return -1; /* try to get the connector type atom */ - if ((conn = XInternAtom(_ecore_x_disp, RR_PROPERTY_CONNECTOR_NUMBER, True))) + if ((conn = XInternAtom(_ecore_x_disp, RR_PROPERTY_CONNECTOR_TYPE, True))) XRRGetOutputProperty(_ecore_x_disp, output, conn, 0, 4, False, False, AnyPropertyType, &type, &format, &items, &bytes, &prop); -- 2.7.4