Next: Shading Windows, Previous: Showing and Hiding Windows, Up: Windows
There are several methods through which X11 client windows may be removed from the display. These differ in the level “politeness” they show the window and its owning application.
Delete window, i.e. send a
WM_DELETE_WINDOWclient-message if possible, or just kill the associated X11 client if not. window may be a window object or a numeric window id.
If the application owning window supports it, send a
WM_DELETE_WINDOWmessage to window. Otherwise just emit a beep.
Destroy window without giving the owning application any warning. window may be a window object or a numeric window id.
Force a close down of the X11 client that created the window specified by window (a window object, or numeric id).
When a managed window is destroyed, the destroy-notify-hook will
subsequently be invoked (see Standard Hooks).