xcb_input_xi_warp_pointer(3)
β¨ xcb_input_xi_warp_pointer β¨
okay bestie, so this page is from the XCB Requests corner of the world β it's the manual for xcb_input_xi_warp_pointer, which lives in the xcb-input crew. π¦ Buckle up, it's giving "short but mighty".
πΈ NAME πΈ
xcb_input_xi_warp_pointer β the pointer-warping request from the X Input extension, as served to you by XCB π«
π SYNOPSIS π
#include <xcb/xinput.h>
π Request function π
xcb_void_cookie_t xcb_input_xi_warp_pointer(xcb_connection_t *conn,
xcb_window_t src_win, xcb_window_t dst_win,
xcb_input_fp1616_t src_x, xcb_input_fp1616_t src_y,
uint16_t src_width, uint16_t src_height,
xcb_input_fp1616_t dst_x, xcb_input_fp1616_t dst_y,
xcb_input_device_id_t deviceid);
π REQUEST ARGUMENTS π
no cap, these are the little guys you gotta feed it:
connβ the XCB connection to X11. your whole line to the server, your main character connection πsrc_winβ TODO: NOT YET DOCUMENTED. π (yeah bestie, they left it blank, I'm not gonna make stuff up)dst_winβ TODO: NOT YET DOCUMENTED. πsrc_xβ TODO: NOT YET DOCUMENTED. πsrc_yβ TODO: NOT YET DOCUMENTED. πsrc_widthβ TODO: NOT YET DOCUMENTED. πsrc_heightβ TODO: NOT YET DOCUMENTED. πdst_xβ TODO: NOT YET DOCUMENTED. πdst_yβ TODO: NOT YET DOCUMENTED. πdeviceidβ TODO: NOT YET DOCUMENTED. π
literally the entire argument list is a mystery to the docs, bestie. the source of truth is xinput.xml and we are NOT guessing. iykyk π
β¨ DESCRIPTION β¨
β¦nothing here, babe. The original page has a DESCRIPTION heading with absolutely nothing under it. That's it. That's the section. Empty. It's giving "said nothing, slayed anyway" π
π₯ RETURN VALUE π₯
It hands you back an xcb_void_cookie_t. That's right β a void cookie, so there's no shiny reply data waiting for you.
Errors (if any) have to be handled in the event loop, okay? That's the whole vibe. β
If you want to handle errors directly instead, with xcb_request_check, then use xcb_input_xi_warp_pointer_checked instead. Peep xcb-requests(3) for the full details on how that whole cookie situation works. π
π ERRORS π
This request does never generate any errors. Not one. Zero. None. Iconic behaviour, honestly. π«Ά
π SEE ALSO π
<cute>β¦there's nothing listed here either.</cute> The section is there, the references are not. So, respectfully: no SEE ALSO refs on this page, periodt. π
π AUTHOR π
Generated from xinput.xml. If you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're the ones who want to hear it. π¬
and that's the whole page, bestie πΈ this cutie came to you courtesy of X Version 11 and libxcb 1.17.0, from the xcb_input_xi_warp_pointer(3) page itself. go forth and warp, or don't, since half the args are TODO πβ¨
π¦ 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