summaryrefslogtreecommitdiff
path: root/man/9/destroy
diff options
context:
space:
mode:
Diffstat (limited to 'man/9/destroy')
-rw-r--r--man/9/destroy24
1 files changed, 24 insertions, 0 deletions
diff --git a/man/9/destroy b/man/9/destroy
new file mode 100644
index 00000000..caaf5f47
--- /dev/null
+++ b/man/9/destroy
@@ -0,0 +1,24 @@
+.TH DESTROY 9
+.SH NAME
+destroy \- Destroy one or more windows
+.SH SYNOPSIS
+\f5destroy \fR?\fIwindow window ...\fR?
+
+.SH DESCRIPTION
+This command deletes the windows given by the
+\fIwindow\fR arguments, plus all of their descendants.
+The \fIwindow\fRs are destroyed in order, and if an error occurs
+in destroying a window the command aborts without destroying the
+remaining windows.
+.PP
+The
+.B Destroy
+event is fired for each window destroyed, including descendants.
+.PP
+If the window ``.'' is specified, it is unmapped rather than destroyed
+and the
+.B Destroy
+event is not fired on it.
+However, all of its decendants are destroyed as normal.
+.SH SEE ALSO
+.IR bind (9)