aboutsummaryrefslogtreecommitdiffstats
path: root/man3/LIBAXL_REQUEST_FREE_CURSOR.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-06-21 12:09:51 +0200
committerMattias Andrée <maandree@kth.se>2020-06-21 12:09:51 +0200
commit0007c3f8d17fb4b397d6d4e42b10f2ceee5b0d6a (patch)
tree73cc9f3704a934d05e8086fad9e6d906b7871131 /man3/LIBAXL_REQUEST_FREE_CURSOR.3
parentImplement & format token in libaxl_receive (diff)
downloadlibaxl-0007c3f8d17fb4b397d6d4e42b10f2ceee5b0d6a.tar.gz
libaxl-0007c3f8d17fb4b397d6d4e42b10f2ceee5b0d6a.tar.bz2
libaxl-0007c3f8d17fb4b397d6d4e42b10f2ceee5b0d6a.tar.xz
Move man pages into a separate directory
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man3/LIBAXL_REQUEST_FREE_CURSOR.3')
-rw-r--r--man3/LIBAXL_REQUEST_FREE_CURSOR.347
1 files changed, 47 insertions, 0 deletions
diff --git a/man3/LIBAXL_REQUEST_FREE_CURSOR.3 b/man3/LIBAXL_REQUEST_FREE_CURSOR.3
new file mode 100644
index 0000000..f973151
--- /dev/null
+++ b/man3/LIBAXL_REQUEST_FREE_CURSOR.3
@@ -0,0 +1,47 @@
+.TH LIBAXL_REQUEST_FREE_CURSOR 3 libaxl
+.SH NAME
+LIBAXL_REQUEST_FREE_CURSOR - Delete reference to a cursor
+.SH SYNOPSIS
+.nf
+#include <libaxl.h>
+
+#define LIBAXL_REQUEST_FREE_CURSOR 95
+struct libaxl_request_free_cursor {
+ uint8_t \fIopcode\fP;
+ uint8_t \fI__pad\fP;
+ uint16_t \fI_request_length\fP;
+ libaxl_cursor_t \fIcursor\fP;
+};
+.fi
+.SH DESCRIPTION
+The display server shall remove the association
+between the resource ID, which is specified in
+the
+.I cursor
+field, and the cursor.
+.PP
+When no resource references the cursor, it will
+be deallocated.
+.PP
+The value of the
+.I opcode
+field shall be
+.I LIBAXL_REQUEST_FREE_CURSOR
+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_CURSOR (3)
+The specified cursor ID does not exist.
+.SH REPLIES
+None.
+.SH SEE ALSO
+.BR libaxl_send_request (3),
+.BR LIBAXL_REQUEST_CREATE_CURSOR (3)