XDeleteProperty(display, w, property)
      Display *display;
      Window w;
      Atom property;


display Specifies the connection to the X server.
w Specifies the window whose property you want to delete.
property Specifies the property name.


The XDeleteProperty() function deletes the specified property only if the property was defined on the specified window and causes the X server to generate a PropertyNotify event on the window unless the property does not exist.

XDeleteProperty() can generate BadAtom and BadWindow errors.


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

See also

XChangeProperty(), XGetWindowProperty(), XListProperties(), XRotateWindowProperties(), "Obtaining and Changing Window Properties"
Christophe Tronche, [email protected]