extinit: document why no*Extension fields need to be exported.

Usually no*Extension fields shouldn't be needed by drivers, but there
are a few exceptions: some drivers need to know whether composite or
Xinerama are active.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-07 17:18:11 +01:00
parent 56fa306fa5
commit 64eb27449e

View File

@ -53,8 +53,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "extnsionst.h" #include "extnsionst.h"
/* required by: libglx */
extern _X_EXPORT Bool noCompositeExtension; extern _X_EXPORT Bool noCompositeExtension;
/* required by: several video drivers (eg. vmware and sis) */
#ifdef XINERAMA #ifdef XINERAMA
extern _X_EXPORT Bool noPanoramiXExtension; extern _X_EXPORT Bool noPanoramiXExtension;
#endif /* XINERAMA */ #endif /* XINERAMA */