xcb_input_xi_query_pointer(3)
π xcb_input_xi_query_pointer π
okay bestie, welcome to the manual page for xcb_input_xi_query_pointer, straight outta XCB Requests β¨ this is the one that asks the X server "hey girl, where's the pointer at tho?" π¦
β¨ NAME β¨
xcb_input_xi_query_pointer β no description yet, the original page literally leaves this blank π
π SYNOPSIS π
#include <xcb/xinput.h>
πΈ Request function πΈ
xcb_input_xi_query_pointer_cookie_t
xcb_input_xi_query_pointer(xcb_connection_t *conn,
xcb_window_t window, xcb_input_device_id_t deviceid);
π¦ Reply datastructure π¦
typedef struct xcb_input_xi_query_pointer_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
xcb_window_t root;
xcb_window_t child;
xcb_input_fp1616_t root_x;
xcb_input_fp1616_t root_y;
xcb_input_fp1616_t win_x;
xcb_input_fp1616_t win_y;
uint8_t same_screen;
uint8_t pad1;
uint16_t buttons_len;
xcb_input_modifier_info_t mods;
xcb_input_group_info_t group;
} xcb_input_xi_query_pointer_reply_t;
π Reply function π
xcb_input_xi_query_pointer_reply_t
*xcb_input_xi_query_pointer_reply(xcb_connection_t *conn,
xcb_input_xi_query_pointer_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors π
uint32_t *xcb_input_xi_query_pointer_buttons(const
xcb_input_xi_query_pointer_request_t *reply);
int xcb_input_xi_query_pointer_buttons_length(const
xcb_input_xi_query_pointer_reply_t *reply);
xcb_generic_iterator_t xcb_input_xi_query_pointer_buttons_end(const
xcb_input_xi_query_pointer_reply_t *reply);
yes bestie, that first accessor really does sayxcb_input_xi_query_pointer_request_twhile the other two sayxcb_input_xi_query_pointer_reply_tβ i'm just reporting what's on the page, no editing, periodt π
π REQUEST ARGUMENTS π
connβ your XCB connection to X11 obvs, the lil string connecting you to the server π§΅windowβTODO: NOT YET DOCUMENTED.π yeah girl, they left this one blankdeviceidβTODO: NOT YET DOCUMENTED.π also blank, iconic of them
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_INPUT_XI_QUERY_POINTER. this field is also chillin' in thexcb_generic_reply_t, so you can use it to tell replies apart from each other πsequenceβ the sequence number of the last request processed by the X11 server π’lengthβ the length of the reply, in words (and a word is 4 bytes, fyi)rootβTODO: NOT YET DOCUMENTED.πchildβTODO: NOT YET DOCUMENTED.πroot_xβTODO: NOT YET DOCUMENTED.πroot_yβTODO: NOT YET DOCUMENTED.πwin_xβTODO: NOT YET DOCUMENTED.πwin_yβTODO: NOT YET DOCUMENTED.πsame_screenβTODO: NOT YET DOCUMENTED.πbuttons_lenβTODO: NOT YET DOCUMENTED.πmodsβTODO: NOT YET DOCUMENTED.πgroupβTODO: NOT YET DOCUMENTED.π
π«Ά DESCRIPTION π«Ά
literally nothing here bestie, the DESCRIPTION section is empty. we move πΆβοΈ
β RETURN VALUE β
Returns an xcb_input_xi_query_pointer_cookie_t πͺ and heads up: errors have to be handled when you call the reply function xcb_input_xi_query_pointer_reply.
if you'd rather handle errors in the event loop instead, use xcb_input_xi_query_pointer_unchecked β¨ see xcb-requests(3) for details, iykyk.
π₯ ERRORS π₯
This request does never generate any errors. not one. zero. clean sheet. slay π
π SEE ALSO π
(this section is empty in the original β no references, no friends, just vibes)
πΈ AUTHOR πΈ
Generated from xinput.xml. Contact xcb@lists.freedesktop.org for corrections and improvements π§
and that's the whole page, bestie!! this one came to you from X Version 11 and libxcb 1.17.0 π thanks for reading the docs with me, go forth and query those pointers, mwah πβ¨π¦
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms