xcb_xkb_latch_lock_state(3)
π xcb_xkb_latch_lock_state β the XCB Requests era
okay so bestie, welcome to xcb_xkb_latch_lock_state(3), a lil function from the XCB Requests corner of libxcb. sit down, grab a boba, we're latching and locking states like it's nothing π
Fair warning before we even start: the NAME section of this page is literally just the function name with nothing after it. No little summary, no tagline, no vibe. She's mysterious. We move. β¨
β¨ SYNOPSIS β¨
First things first, you gotta pull in the header:
#include <xcb/xkb.h>
πΈ Request function
xcb_void_cookie_t xcb_xkb_latch_lock_state(xcb_connection_t *conn,
xcb_xkb_device_spec_t deviceSpec, uint8_t affectModLocks,
uint8_t modLocks, uint8_t lockGroup, uint8_t groupLock,
uint8_t affectModLatches, uint8_t latchGroup,
uint16_t groupLatch);
Look at that signature. Nine parameters. She's high maintenance and honestly? iconic. π
π«Ά REQUEST ARGUMENTS π«Ά
connβ the XCB connection to X11. your link to the mothership, your group chat with the X server, no conn no nothing πdeviceSpecβTODO: NOT YET DOCUMENTED.yeah. the docs said "we'll get to it" and then never did πaffectModLocksβTODO: NOT YET DOCUMENTED.same energy nglmodLocksβTODO: NOT YET DOCUMENTED.the mystery continueslockGroupβTODO: NOT YET DOCUMENTED.she's keeping secretsgroupLockβTODO: NOT YET DOCUMENTED.truly not yet documented fr fraffectModLatchesβTODO: NOT YET DOCUMENTED.yeplatchGroupβTODO: NOT YET DOCUMENTED.also yepgroupLatchβTODO: NOT YET DOCUMENTED.and that's the whole roster, all nine of them, every single one a beautiful blank canvas π¦
not me reading nine consecutive "TODO: NOT YET DOCUMENTED" lines and just accepting it as a lifestyle. the upstream maintainers are the main characters here and they said "later" and meant it π
π DESCRIPTION π
Yeah. There isn't one. That's not a bit, that's just the page. The DESCRIPTION section exists in name only β a gorgeous empty room with amazing lighting and absolutely no furniture. vibe check: passed, content: none. β¨
π RETURN VALUE π
You get back an xcb_void_cookie_t. periodt.
Errors β if there even are any β have to be handled in the event loop. You do not get to just catch them inline, bestie, that's not how this cookie crumbles.
But wait, there's a plot twist: if you'd rather handle errors directly with xcb_request_check, then use xcb_xkb_latch_lock_state_checked instead. Two flavors, pick your fighter. See xcb-requests(3) for all the deets on how that works, iykyk.
π₯ ERRORS π₯
This request does never generate any errors.
That's it. That's the whole section. She's chill. She causes zero problems. the peacekeeper of the XCB family ποΈ no cap.
π SEE ALSO π
(There's nothing here either! The SEE ALSO section is empty. No cross-references, no friends, no little siblings. She's on her own journey and honestly, respect. π§)
π AUTHOR π
Generated from xkb.xml. If something's wrong or you've got corrections and improvements, contact xcb@lists.freedesktop.org β they're the ones who can actually fix it, not me, I'm just the messenger with good taste π
okay that's the whole page bestie, we made it to the end π this one came to you from X Version 11, libxcb 1.17.0 β go forth and latch responsibly, 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