randr: re-export RROutputSetNonDesktop() for Nvidia legacy

NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-06-04 14:33:08 +02:00
parent 9696a151dd
commit 1a534e204b
2 changed files with 8 additions and 7 deletions

View File

@ -674,6 +674,14 @@ extern _X_EXPORT RESTYPE RRCrtcType; /* X resource type: Randr CRTC */
extern _X_EXPORT RESTYPE RRModeType; /* X resource type: Randr MODE */ extern _X_EXPORT RESTYPE RRModeType; /* X resource type: Randr MODE */
extern _X_EXPORT RESTYPE RROutputType; /* X resource type: Randr OUTPUT */ extern _X_EXPORT RESTYPE RROutputType; /* X resource type: Randr OUTPUT */
/*
* Set non-desktop property on given output. This flag should be TRUE on
* outputs where usual desktops shouldn't expand onto (eg. head displays,
* additional display bars in various handhelds, etc)
*/
_X_EXPORT /* just for Nvidia legacy */
Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop);
#endif /* _RANDRSTR_H_ */ #endif /* _RANDRSTR_H_ */
/* /*

View File

@ -156,13 +156,6 @@ Bool RRInit(void);
*/ */
RRCrtcPtr RRFirstEnabledCrtc(ScreenPtr pScreen); RRCrtcPtr RRFirstEnabledCrtc(ScreenPtr pScreen);
/*
* Set non-desktop property on given output. This flag should be TRUE on
* outputs where usual desktops shouldn't expand onto (eg. head displays,
* additional display bars in various handhelds, etc)
*/
Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop);
/* /*
* Compute vertical refresh rate from randr mode information * Compute vertical refresh rate from randr mode information
* *