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:
parent
967c5baa0c
commit
9a0071a4c7
|
|
@ -38,6 +38,7 @@ PropertyPtr dixPropertyCreate(Atom type, Atom name, int format, size_t len,
|
||||||
pProp->value.data = data;
|
pProp->value.data = data;
|
||||||
pProp->value.format = format;
|
pProp->value.format = format;
|
||||||
pProp->value.size = len;
|
pProp->value.size = len;
|
||||||
|
pProp->deletable = TRUE;
|
||||||
|
|
||||||
return pProp;
|
return pProp;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@ typedef struct _Property {
|
||||||
ATOM propertyName;
|
ATOM propertyName;
|
||||||
PropertyValueRec value;
|
PropertyValueRec value;
|
||||||
PrivateRec *devPrivates;
|
PrivateRec *devPrivates;
|
||||||
|
Bool deletable;
|
||||||
} PropertyRec;
|
} PropertyRec;
|
||||||
|
|
||||||
#endif /* PROPERTYSTRUCT_H */
|
#endif /* PROPERTYSTRUCT_H */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue