From 27f109411620eeade4942d2b912a7b2ae3f9031c Mon Sep 17 00:00:00 2001 From: dasha_uwu Date: Fri, 13 Jun 2025 04:50:02 +0500 Subject: [PATCH] randr: export RRGetOutputProperty for nvidia Signed-off-by: dasha_uwu --- randr/randrstr.h | 11 +++++++++++ randr/randrstr_priv.h | 10 ---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index 59e70849a..658edc453 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -766,6 +766,17 @@ void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms); _X_EXPORT /* just for Nvidia legacy */ void RROutputSetSubpixelOrder(RROutputPtr output, int order); +/* + * Retrieve output property value + * + * @param output the output to query + * @param property Atom ID of the property to retrieve + * @param pending retrieve pending instead of current value + * @return pointer to property value or NULL (if not found) + */ +_X_EXPORT /* just for Nvidia legacy */ +RRPropertyValuePtr RRGetOutputProperty(RROutputPtr output, Atom property, Bool pending); + #endif /* _RANDRSTR_H_ */ /* diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 7143416fe..eebeee5f7 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -318,16 +318,6 @@ void RROutputInitErrorValue(void); */ void RRPointerScreenConfigured(ScreenPtr pScreen); -/* - * Retrieve output property value - * - * @param output the output to query - * @param property Atom ID of the property to retrieve - * @param pending retrieve pending instead of current value - * @return pointer to property value or NULL (if not found) - */ -RRPropertyValuePtr RRGetOutputProperty(RROutputPtr output, Atom property, Bool pending); - /* * Retrieve full property structure from output *