Destroying 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 window
|
Command |
Delete window, i.e. send a WM_DELETE_WINDOW client-message
if possible, or just kill the associated X11 client if not.
window may be a window object or a numeric window id.
|
| delete-window-safely window
|
Command |
If the application owning window supports it, send a
WM_DELETE_WINDOW message to window. Otherwise just emit a
beep.
|
| destroy-window window
|
Command |
|
Destroy window without giving the owning application any warning.
window may be a window object or a numeric window id.
|
| x-kill-client window
|
Function |
|
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).