XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE(3)
π xcb_xfixes_set_client_disconnect_mode
okay bestie, gather round, because we're doing a lil XCB xfixes moment. this is from libxcb (X Version 11), and it's the page that tells you how to set the disconnect mode for a client. yes, that's the whole vibe. short king of a manpage. let's get into it π
β¨ NAME β¨
xcb_xfixes_set_client_disconnect_mode β Sets the disconnect mode for the client.
like. it does exactly what it says on the tin, no cap. π
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header:
#include <xcb/xfixes.h>
π¦ Request function
xcb_void_cookie_t
xcb_xfixes_set_client_disconnect_mode(xcb_connection_t *conn,
uint32_t disconnect_mode);
that's the whole signature, copy it exactly, don't freestyle it babes π
π REQUEST ARGUMENTS π
connβ The XCB connection to X11. your lil lifeline to the server, the group chat you're posting into fr fr.disconnect_modeβ The new disconnect mode. this is auint32_t, and it's literally the new disconnect mode. that's the intel we have. slay.
π§ DESCRIPTION π§
okay soβ¦ the original page leaves this section completely empty. not a single word. it's giving mystery, it's giving "figure it out bestie", it's giving main character who refuses to explain herself π. i'm not gonna invent lore that isn't there, so: nothing to report. moving on, periodt.
π₯ RETURN VALUE π₯
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop. so don't just fire and forget and then act surprised, okay? handle your business in the event loop like a grown-up π«Ά
If you want to handle errors directly with xcb_request_check instead, use xcb_xfixes_set_client_disconnect_mode_checked. See xcb-requests(3) for details.
π ERRORS π
This request does never generate any errors.
read that again. never. no errors, no drama, no chaos, no "why is my cookie sad" arc. she simply does not miss. β¨
π SEE ALSO π
π AUTHOR π
Generated from xfixes.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
(so if something's off, that's the inbox to slide into, not mine π)
and that's the whole page bestie!! go forth and set those disconnect modes, iykyk πβ¨
X Version 11 Β· libxcb 1.17.0 Β· mwah, catch you in the next manpage π¦π
π¦ 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