xcb_input_xi_...ungrab_device(3)
π xcb_input_xi_passive_ungrab_device(3) π
okay bestie, so this is a page from the XCB Requests manual β that's the X protocol C binding situation β and it's literally called xcb_input_xi_...ungrab_device. yes the name is abbreviated like that, it's giving mysterious main character energy and we're not gonna argue with it. πΈ
β¨ NAME β¨
xcb_input_xi_passive_ungrab_device β the passive ungrab device request, bestie. that's it, that's the whole name, the description line is literally just vibes and a dash. π
β¨ SYNOPSIS β¨
first up, you gotta pull in the header, no cap:
#include <xcb/xinput.h>
π Request function
and here's the actual function, character for character, don't @ me:
xcb_void_cookie_t
xcb_input_xi_passive_ungrab_device(xcb_connection_t *conn,
xcb_window_t grab_window, uint32_t detail,
xcb_input_device_id_t deviceid, uint16_t num_modifiers,
uint8_t grab_type, const uint32_t *modifiers);
she's long, she's loaded, she's iconic. π
β¨ REQUEST ARGUMENTS β¨
here's every single thing you're feeding her, and what the docs say about each one:
connβ the XCB connection to X11, obvi. it's your link to the whole X situation, the group chat with the server if you will. π«Άgrab_windowβTODO: NOT YET DOCUMENTED.yeah girl, they left it blank, we report the blank faithfully. πdetailβTODO: NOT YET DOCUMENTED.same energy, same blank. πdeviceidβTODO: NOT YET DOCUMENTED.mystery device, mystery docs. πnum_modifiersβTODO: NOT YET DOCUMENTED.how many modifiers? the docs refuse to say. β¨grab_typeβTODO: NOT YET DOCUMENTED.type of grab, allegedly, per the name, but the page is silent. πmodifiersβTODO: NOT YET DOCUMENTED.the pointer to the modifiers, also undocumented. β
ngl bestie, that's a LOT of TODO: NOT YET DOCUMENTED. in one place. it's not me being lazy, that's literally what the page says. i would never leave you hanging like that. π
β¨ DESCRIPTION β¨
okay soβ¦ the DESCRIPTION section? it's empty. completely, absolutely empty. not a single word. it's giving "we'll finish this later" and later never came. π
what i can tell you is that this is the xcb_input_xi_passive_ungrab_device request function from <xcb/xinput.h>, generated from xinput.xml β and that's all the page itself gives us. no invented lore, no guessing, periodt. π
β¨ RETURN VALUE β¨
she returns an xcb_void_cookie_t, bestie. π₯ and listen β errors (if any) have to be handled in the event loop. that's the deal.
but if you'd rather handle errors directly, you use xcb_request_check instead, and for that you want:
xcb_input_xi_passive_ungrab_device_checked
and if you want the whole tea on how request checking works, go read xcb-requests(3). it's all in there. π«Ά
β¨ ERRORS β¨
good news, babe: this request does never generate any errors. π zero. none. clean slate, no drama, no error codes to catch. slay.
β¨ SEE ALSO β¨
this section isβ¦ empty. nothing listed. that's just how the page is, we don't make stuff up around here. π¦
β¨ AUTHOR β¨
this whole thing was generated from xinput.xml. if you spot something wrong and wanna help fix it, hit up xcb@lists.freedesktop.org β they take corrections and improvements, fr fr. π
and that's the page, bestie!! π go forth and ungrab those passive devices (once somebody documents what all those arguments actually do, lmaooo). mwah. π β¨
X Version 11 Β· libxcb 1.17.0 Β· xcb_input_xi_...ungrab_device(3) β that's the footer tea, sourcing and version and everything, signing off like the icon she is. ππ
π¦ 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