xcb_input_set_device_focus(3)
β¨ xcb_input_set_device_focus β¨
okay bestie, gather round, because we're diving into xcb_input_set_device_focus from the XCB Requests corner of the X universe π it lives in libxcb 1.17.0, it's part of X Version 11, and no cap, it does exactly one little job and then dips.
πΈ NAME πΈ
xcb_input_set_device_focus β (and that's it, the original page literally leaves the description blank, so we're not making anything up here, periodt π
)
π¦ SYNOPSIS π¦
First, you gotta bring in the goods:
#include <xcb/xinput.h>
π Request function
xcb_void_cookie_t xcb_input_set_device_focus(xcb_connection_t *conn,
xcb_window_t focus, xcb_timestamp_t time, uint8_t revert_to,
uint8_t device_id);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your lil lifeline to the server, she's the main character here π«Άfocusβ TODO: NOT YET DOCUMENTED. (yes fr, the docs really said "we'll get to it" and then didn't π)timeβ TODO: NOT YET DOCUMENTED. (same energy, bestie)revert_toβ TODO: NOT YET DOCUMENTED. (still waiting on that one π)device_idβ TODO: NOT YET DOCUMENTED. (the whole squad is undocumented, iconic honestly)
π DESCRIPTION π
okay soβ¦ there is no description text on this page. like, zero. the section exists, it's just empty. the vibe is mysterious, the lore is missing, and we're not about to invent it β no technical claims that aren't in the original, that's the rule π―
β RETURN VALUE β
She hands you back an xcb_void_cookie_t. That's the whole return. If any errors show up (and theoretically, if any were to show up), you'd have to handle them over in the event loop, not right here.
But if you'd rather grab errors directly, there's a move for that: use xcb_input_set_device_focus_checked together with xcb_request_check. Check xcb-requests(3) for the deets, iykyk π
π ERRORS π
This request does never generate any errors. Not a single one. Zero. Clean run, no drama, she simply doesn't do that β¨
π§ SEE ALSO π§
(nothing listed here on the original page β the section is just vibes and blank space π)
π AUTHOR π
Generated from xinput.xml. If you wanna send corrections and improvements, hit up xcb@lists.freedesktop.org π
and that's the whole page, bestie! π this was xcb_input_set_device_focus(3) from X Version 11, shipped with libxcb 1.17.0, dated xcb_input_set_device_focus(3) β slay, ate, no crumbs, periodt π
π¦πΈ
π¦ 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