XDeleteContext − delete a context entry for a given window and type.
Synopsis
int XDeleteContext(display, rid, context)
Display *display;
XID rid;
XContext context;
Arguments
displaySpecifies a connection to an X server; returned from XOpenDisplay().
ridSpecifies the resource ID with which the data is associated.
contextSpecifies the context type to which the data belongs.
Description
XDeleteContext() deletes the entry for the given resource ID and type from the context data structure defined in <X11/Xutil.h>. This function returns XCNOENT if the context could not be found, or zero if it succeeds. XDeleteContext() does not free the memory allocated for the data whose address was saved. See Volume One, Chapter 13, Other Programming Techniques, for a description of context management.
Structures
typedef int XContext;
See Also
XFindContext(), XSaveContext(), XUniqueContext().
Copyright O’Reilly & Assoc. —