XEnableAccessControl(display)
Display *display;
| display | Specifies the connection to the X server. |
XEnableAccessControl() can generate a BadAccess error.
| BadAccess | A client attempted to free a color map entry that it did not already allocate. |
| BadAccess | A client attempted to store into a read-only color map entry. |