(submit/miext-extinit) composite: move noCompositeExtension into the extension code

This flag is better off in the extension code instead of the OS layer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-06-28 22:32:08 +02:00
parent c7d4cdd0e0
commit c842dde3ef
3 changed files with 3 additions and 3 deletions

View File

@ -50,6 +50,8 @@
#include "protocol-versions.h"
#include "extinit_priv.h"
Bool noCompositeExtension = FALSE;
static CARD8 CompositeReqCode;
static DevPrivateKeyRec CompositeClientPrivateKeyRec;

View File

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

View File

@ -121,9 +121,6 @@ __stdcall unsigned long GetTickCount(void);
#include "dixstruct_priv.h"
#include "dpmsproc.h"
#ifdef COMPOSITE
Bool noCompositeExtension = FALSE;
#endif
#ifdef XFreeXDGA
Bool noXFree86DGAExtension = FALSE;
#endif