From: Sebastian Dransfeld Date: Tue, 5 Nov 2013 08:39:51 +0000 (+0100) Subject: ecore_x: get correct property X-Git-Tag: v1.8.0-alpha2~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7382dacfa56fd7fd3e98c06f6693612cc9fc5d4;p=platform%2Fupstream%2Fefl.git 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. --- 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);