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 611055db8d
commit 4f8b584717
2 changed files with 2 additions and 0 deletions

View File

@ -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;
}

View File

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