From ebbad77c8487ea2577a68cffcfdcdea31b39a898 Mon Sep 17 00:00:00 2001 From: stefan11111 Date: Sat, 11 Apr 2026 15:06:21 +0300 Subject: [PATCH] Xext/dri2: Add a comment Signed-off-by: stefan11111 --- Xext/dri2/dri2ext.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Xext/dri2/dri2ext.c b/Xext/dri2/dri2ext.c index 3ec3ecaae..05e7a9ed3 100644 --- a/Xext/dri2/dri2ext.c +++ b/Xext/dri2/dri2ext.c @@ -585,6 +585,12 @@ DRI2ExtensionInit(void) return; #endif /* XINERAMA */ + /** + * Advertise the DRI2 extension, + * even if no screens support it. + * + * This is needed for steam's proton to work. + */ dri2Extension = AddExtension(DRI2_NAME, DRI2NumberEvents, DRI2NumberErrors,