xcb_ungrab_button(3)
π xcb_ungrab_button
okay so bestie, welcome to the xcb_ungrab_button page from the XCB Requests girlies π the title's literally just xcb_ungrab_button and ngl the NAME section is out here giving nothing β it's just the name and a lil dash, that's the whole vibe. no cap.
β¨ SYNOPSIS β¨
first things first, you gotta bring in the header, periodt:
#include <xcb/xproto.h>
π Request function
and here's the actual function, look at her go:
xcb_void_cookie_t xcb_ungrab_button(xcb_connection_t *conn,
uint8_t button, xcb_window_t grab_window, uint16_t modifiers);
π¦ REQUEST ARGUMENTS π¦
connβ your XCB connection to X11, the main character of every single one of these pages fr fr π₯buttonβ bestie it's one of these, pick your fighter:XCB_BUTTON_INDEX_ANYβ any of the ones below (or honestly, none of them, she's flexible like that) β¨XCB_BUTTON_INDEX_1β the left mouse button, the classic, the icon πXCB_BUTTON_INDEX_2β the right mouse buttonXCB_BUTTON_INDEX_3β the middle mouse buttonXCB_BUTTON_INDEX_4β scroll wheel.TODO: direction?β yeah she said what she said, even the docs are confused πXCB_BUTTON_INDEX_5β scroll wheel.TODO: direction?again, still no answer, still not our problem π
TODO: NOT YET DOCUMENTED. β the rest of the button options are out here with no lore, no backstory, just mystery π«Ά
grab_windowβTODO: NOT YET DOCUMENTED.we literally do not know her, she's a ghost π»modifiersβTODO: NOT YET DOCUMENTED.same energy, no info available, iconic of them honestly
πΈ DESCRIPTION πΈ
so umβ¦ there's literally nothing here. the DESCRIPTION section is empty. the vibes are immaculate but the content is not present. moving on bestie π
β RETURN VALUE β
she returns an xcb_void_cookie_t, that's the whole thing. and if any errors show up, you have to handle them in the event loop, no shortcuts, that's just the rules π
and listen β if you'd rather handle errors directly with xcb_request_check instead, then you wanna use xcb_ungrab_button_checked. peek xcb-requests(3) for the deets, iykyk π
π ERRORS π
okay so this request never generates any errors. literally never. she's unproblematic, she's drama-free, she's the moment. π
π SEE ALSO π
bestieβ¦ there's nothing here either. an empty section. a blank canvas. a whole lotta nothing πβ¨
π AUTHOR π
this one was Generated from xproto.xml π if you got corrections and improvements, hit up xcb@lists.freedesktop.org β they're literally waiting for your email fr fr π«Ά
and that's the whole page bestie, we ate, no crumbs left π slay β¨
so yeah, this was X Version 11, libxcb 1.17.0, page xcb_ungrab_button(3) β go forth and ungrab those buttons, you gorgeous genius π¦ππ
π¦ 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