XDeleteContext()XDeleteContext()NameXDeleteContext – delete a context entry for a given window and type.
Synopsis
int XDeleteContext(display, rid, context)
Display *display;
XID rid;
XContext context;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
rid Specifies the resource ID with which the data is associated.
context Specifies the context type to which the data belongs.
Returns
XCNOENT if the context could not be found, or zero if it succeeds.
DescriptionXDeleteContext() deletes the entry for the given resource ID and type
from the context data structure defined in <X11/Xutil.h>. This func‐
tion 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 15, Other Programming Techniques, for a
description of context management.
Structures
typedef int XContext;
See AlsoXFindContext(), XSaveContext(), XUniqueContext().
Xlib - Context Manager XDeleteContext()