aboutsummaryrefslogtreecommitdiffstats
path: root/man3/LIBAXL_REQUEST_UNMAP_WINDOW.3
blob: 476b71e012576c139e30bd0eb1481e7dfcf507f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.TH LIBAXL_REQUEST_UNMAP_WINDOW 3 libaxl
.SH NAME
LIBAXL_REQUEST_UNMAP_WINDOW - Unmap a window
.SH SYNOPSIS
.nf
#include <libaxl.h>

#define LIBAXL_REQUEST_UNMAP_WINDOW 10
struct libaxl_request_unmap_window {
        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 unmap the window
whose resource ID is specified in the
.I window
field, and generate a
.BR LIBAXL_EVENT_UNMAP_NOTIFY (3)
event.
.PP
Normal exposure processing on formerly
obscured windows is performed.
.PP
This request has no effect if the window
is already unmapped.
.PP
The value of the
.I opcode
field shall be
.I LIBAXL_REQUEST_UNMAP_WINDOW
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_UNMAP_SUBWINDOWS (3),
.BR LIBAXL_REQUEST_MAP_WINDOW (3)