XCB_XFIXES_GET_CLIENT_DISCONNECT_MODE(3)
β¨ NAME β¨
xcb_xfixes_get_client_disconnect_mode β bestie, the original page literally leaves the description blank here, so we're just gonna hold hands and vibe with the function name itself π
πΈ SYNOPSIS πΈ
First things first, you gotta pull in the header:
#include <xcb/xfixes.h>
π Request function
xcb_xfixes_get_client_disconnect_mode_cookie_t
xcb_xfixes_get_client_disconnect_mode(xcb_connection_t *conn,
π¦ Reply datastructure
typedef struct xcb_xfixes_get_client_disconnect_mode_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t disconnect_mode;
uint8_t pad1[20];
} xcb_xfixes_get_client_disconnect_mode_reply_t;
π Reply function
xcb_xfixes_get_client_disconnect_mode_reply_t
*xcb_xfixes_get_client_disconnect_mode_reply(xcb_connection_t *conn,
xcb_xfixes_get_client_disconnect_mode_cookie_t cookie,
xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11. that's the whole list. one (1) argument, iconic behaviour honestly π
π REPLY FIELDS π
response_typeβ the type of this reply, which in this case isXCB_XFIXES_GET_CLIENT_DISCONNECT_MODE. it also lives insidexcb_generic_reply_t, so you can use it to tell your replies apart from each other, no cap πsequenceβ the sequence number of the last request the X11 server actually processed. it's giving "receipt of what the server has done so far" π§Ύlengthβ how long the reply is, counted in words. and bestie, a word here is 4 bytes, don't forget πdisconnect_modeβ the current disconnect mode. that's the tea you came for π
β¨ DESCRIPTION β¨
(okay so the original page has this section with literally nothing under it β no description, no lore, nothing. so there's nothing extra for me to tell you here, and I'm not about to make stuff up π)
π«Ά RETURN VALUE π«Ά
It hands you back an xcb_xfixes_get_client_disconnect_mode_cookie_t. Cookies are cute but errors are not, and you have to deal with those errors when you call the reply function, xcb_xfixes_get_client_disconnect_mode_reply. πͺ
If you'd rather handle your errors in the event loop instead, then use xcb_xfixes_get_client_disconnect_mode_unchecked and go off. See xcb-requests(3) for all the deets.
π ERRORS π
This request never generates any errors. not one. zero. a whole clean slate, we love that for it πΈβ¨
π SEE ALSO π
(empty in the original, soβ¦ nothing to link, nothing to see, just vibes π¦)
π AUTHOR π
Generated from xfixes.xml. If you spot something wrong or wanna make it better, hit up xcb@lists.freedesktop.org for corrections and improvements. go off, king π§
okay that's the whole page bestie, you understood all of it, periodt π
and as a little sign-off β this one comes from X Version 11, libxcb 1.17.0, mwah, love that for us ππ
π¦ 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