Compare commits

...

1 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult 7c70a9f3cf 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>
2025-04-23 11:57:32 +02:00

View File

@ -53,10 +53,12 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "extnsionst.h" #include "extnsionst.h"
/* required by: libglx */
#ifdef COMPOSITE #ifdef COMPOSITE
extern _X_EXPORT Bool noCompositeExtension; extern _X_EXPORT Bool noCompositeExtension;
#endif #endif
/* 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 */