From da8b1c1d1baafb9cf4a0cc9a88362f161f8d1319 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 20 Apr 2020 18:58:00 +0200 Subject: First commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- LIBAXL_REQUEST_FREE_PIXMAP.3 | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 LIBAXL_REQUEST_FREE_PIXMAP.3 (limited to 'LIBAXL_REQUEST_FREE_PIXMAP.3') diff --git a/LIBAXL_REQUEST_FREE_PIXMAP.3 b/LIBAXL_REQUEST_FREE_PIXMAP.3 new file mode 100644 index 0000000..1b3af15 --- /dev/null +++ b/LIBAXL_REQUEST_FREE_PIXMAP.3 @@ -0,0 +1,47 @@ +.TH LIBAXL_REQUEST_FREE_PIXMAP 3 libaxl +.SH NAME +LIBAXL_REQUEST_FREE_PIXMAP - Delete reference to a pixmap +.SH SYNOPSIS +.nf +#include + +#define LIBAXL_REQUEST_FREE_PIXMAP 54 +struct libaxl_request_free_pixmap { + uint8_t \fIopcode\fP; + uint8_t \fI__pad\fP; + uint16_t \fI_request_length\fP; + libaxl_pixmap_t \fIpixmap\fP; +}; +.fi +.SH DESCRIPTION +The display server shall remove the association +between the resource ID, which is specified in +the +.I pixmap +field, and the pixmap. +.PP +When no resource references the pixmap, it will +be deallocated. +.PP +The value of the +.I opcode +field shall be +.I LIBAXL_REQUEST_FREE_PIXMAP +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. +.TP +.BR LIBAXL_ERROR_PIXMAP (3) +The specified pixmap ID does not exist. +.SH REPLIES +None. +.SH SEE ALSO +.BR libaxl_send_request (3), +.BR LIBAXL_REQUEST_CREATE_PIXMAP (3) -- cgit v1.2.3-70-g09d2