randr: export RRGetOutputProperty for nvidia

Signed-off-by: dasha_uwu <dasha@linuxping.win>
This commit is contained in:
dasha_uwu 2025-06-13 04:50:02 +05:00 committed by Enrico Weigelt
parent 8ebab6ca3e
commit 27f1094116
2 changed files with 11 additions and 10 deletions

View File

@ -766,6 +766,17 @@ void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms);
_X_EXPORT /* just for Nvidia legacy */ _X_EXPORT /* just for Nvidia legacy */
void RROutputSetSubpixelOrder(RROutputPtr output, int order); 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_ */ #endif /* _RANDRSTR_H_ */
/* /*

View File

@ -318,16 +318,6 @@ void RROutputInitErrorValue(void);
*/ */
void RRPointerScreenConfigured(ScreenPtr pScreen); 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 * Retrieve full property structure from output
* *