int XDeleteContext(display, rid, context)
      Display *display;
      XID rid;
      XContext context;


display Specifies the connection to the X server.
rid Specifies the resource ID with which the data is associated.
context Specifies the context type to which the data belongs.


The XDeleteContext() function deletes the entry for the given resource ID and type from the data structure. This function returns the same error codes that XFindContext() returns if called with the same arguments. XDeleteContext() does not free the data whose address was saved.

See also

XFindContext(), XSaveContext(), XUniqueContext(), "Using the Context Manager".
Christophe Tronche, [email protected]