XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE_CHECKED(3)

πŸ“¦
version 1.17.0 Β· 3 versions
  • 1.17.0 Β· alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.15 Β· ubuntu noble
  • 1.15 Β· debian bookworm
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… 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 a uint32_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 πŸ¦‹πŸ’