From 4f8b584717f80dede47170bb771ebcdcc42832ff Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 15 May 2025 20:08:11 +0200 Subject: [PATCH] dix: add deletable field to PropertyRec Preparational step for later using this struct for XI. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/property_list.c | 1 + include/propertyst.h | 1 + 2 files changed, 2 insertions(+) diff --git a/dix/property_list.c b/dix/property_list.c index f96ddf3b3..1a0d24201 100644 --- a/dix/property_list.c +++ b/dix/property_list.c @@ -39,6 +39,7 @@ PropertyPtr dixPropertyCreate(Atom type, Atom name, int format, size_t len, pProp->value.format = format; pProp->value.size = len; pProp->value.type = type; + pProp->deletable = TRUE; return pProp; } diff --git a/include/propertyst.h b/include/propertyst.h index 31cc4b140..d3fa7aa11 100644 --- a/include/propertyst.h +++ b/include/propertyst.h @@ -61,6 +61,7 @@ typedef struct _Property { ATOM propertyName; PropertyValueRec value; PrivateRec *devPrivates; + Bool deletable; } PropertyRec; #endif /* PROPERTYSTRUCT_H */