treewide: Move the dri2 extension to Xext and use it for all X servers

This is needed to get proton working in Xfbdev, but is probably useful in other places too.

Xephyr has some unrelated issues regaring Xinput, so steam doesn't work there.

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
stefan11111
2026-01-01 13:42:08 +02:00
committed by Enrico Weigelt
parent 2a41522349
commit dc39eda42b
26 changed files with 47 additions and 61 deletions

View File

@@ -8,6 +8,12 @@
#include "extinit.h"
#ifdef DRI2
#include <X11/extensions/dri2proto.h>
extern Bool noDRI2Extension;
void DRI2ExtensionInit(void);
#endif
/* required by: the 470 and 390 nvidia DDX drivers */
extern _X_EXPORT Bool noDamageExtension;