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
611055db8d
commit
4f8b584717
|
@ -39,6 +39,7 @@ PropertyPtr dixPropertyCreate(Atom type, Atom name, int format, size_t len,
|
||||||
pProp->value.format = format;
|
pProp->value.format = format;
|
||||||
pProp->value.size = len;
|
pProp->value.size = len;
|
||||||
pProp->value.type = type;
|
pProp->value.type = type;
|
||||||
|
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