From 1489474583de17ca68fbc4ff94adec80b58c7bc7 Mon Sep 17 00:00:00 2001 From: dasha_uwu Date: Fri, 13 Jun 2025 04:49:58 +0500 Subject: [PATCH] dix: remove unused NAMESPACE private type in struct _Screen (include/scrnintstr.h) there is a PRIVATE_LAST-sized array, having another private increases PRIVATE_LAST, the array increases in size, moving everything below it down. this breaks ABI for nvidia driver Signed-off-by: dasha_uwu --- dix/privates.c | 1 - include/privates.h | 1 - 2 files changed, 2 deletions(-) diff --git a/dix/privates.c b/dix/privates.c index 5d6018c4a..846ddd9c3 100644 --- a/dix/privates.c +++ b/dix/privates.c @@ -109,7 +109,6 @@ static const char *key_names[PRIVATE_LAST] = { [PRIVATE_GLYPHSET] = "GLYPHSET", [PRIVATE_PICTURE] = "PICTURE", [PRIVATE_SYNC_FENCE] = "SYNC_FENCE", - [PRIVATE_NAMESPACE] = "NAMESPACE", }; static const Bool screen_specific_private[PRIVATE_LAST] = { diff --git a/include/privates.h b/include/privates.h index 743afb11e..394e3d685 100644 --- a/include/privates.h +++ b/include/privates.h @@ -51,7 +51,6 @@ typedef enum { PRIVATE_GLYPHSET, PRIVATE_PICTURE, PRIVATE_SYNC_FENCE, - PRIVATE_NAMESPACE, /* last private type */ PRIVATE_LAST,