dix: add deletable field to PropertyRec

Preparational step for later using this struct for XI.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-15 20:08:11 +02:00
parent 967c5baa0c
commit 9a0071a4c7
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ PropertyPtr dixPropertyCreate(Atom type, Atom name, int format, size_t len,
pProp->value.data = data;
pProp->value.format = format;
pProp->value.size = len;
pProp->deletable = TRUE;
return pProp;
}

View File

@ -61,6 +61,7 @@ typedef struct _Property {
ATOM propertyName;
PropertyValueRec value;
PrivateRec *devPrivates;
Bool deletable;
} PropertyRec;
#endif /* PROPERTYSTRUCT_H */