aboutsummaryrefslogblamecommitdiffstats
path: root/LIBAXL_REQUEST_DESTROY_SUBWINDOWS.3
blob: 77d5b82e2b81bc3913284d3e442a8ee967cb482c (plain) (tree)











































                                                               
.TH LIBAXL_REQUEST_DESTROY_SUBWINDOWS 3 libaxl
.SH NAME
LIBAXL_REQUEST_DESTROY_SUBWINDOWS - Destroy a window's children
.SH SYNOPSIS
.nf
#include <libaxl.h>

#define LIBAXL_REQUEST_DESTROY_SUBWINDOWS 5
struct libaxl_request_destroy_subwindows {
        uint8_t         \fIopcode\fP;
        uint8_t         \fI__pad\fP;
        uint16_t        \fI_request_length\fP;
        libaxl_window_t \fIwindow\fP;
};
.fi
.SH DESCRIPTION
The display server shall all children of
the window whose resource ID is specified
in the
.I window
field. Windows are destroyed in
bottom-to-top stacking order.
The specified window itself is not destroyed.
.PP
The value of the
.I opcode
field shall be
.I LIBAXL_REQUEST_DESTROY_SUBWINDOWS
to signify that the request is of the
request described in this document.
.PP
Other fields are filled in automatically by the
.BR libaxl_send_request (3)
function.
.SH ERRORS
.TP
.BR LIBAXL_ERROR_WINDOW (3)
The specified window ID does not exist.
.SH REPLIES
None.
.SH SEE ALSO
.BR libaxl_send_request (3),
.BR LIBAXL_REQUEST_DESTROY_WINDOW (3),
.BR LIBAXL_REQUEST_UNMAP_SUBWINDOWS (3)