XUndefineCursor

Syntax

XUndefineCursor(display, w)
      Display *display;
      Window w;

Arguments

display Specifies the connection to the X server.
w Specifies the window.

Description

The XUndefineCursor() function undoes the effect of a previous XDefineCursor() for this window. When the pointer is in the window, the parent's cursor will now be used. On the root window, the default cursor is restored.

XUndefineCursor() can generate a BadWindow error.

Diagnostics

BadWindow A value for a Window argument does not name a defined Window.

See also

XCreateFontCursor(), XDefineCursor(), XRecolorCursor(), "Changing Window Attributes"
Christophe Tronche, [email protected]