xcb_dbe_get_b...er_attributes(3)
π NAME π
okay so bestie, welcome to xcb_dbe_get_back_buffer_attributes β she gets back buffer attributes. that's the whole vibe. β¨
it's a lil XCB request function from the xcb/dbe.h era, and she's here to tell you stuff about your back buffers. periodt.
β¨ SYNOPSIS β¨
first things first, you gotta let her in:
#include <xcb/dbe.h>
π Request function
xcb_dbe_get_back_buffer_attributes_cookie_t
xcb_dbe_get_back_buffer_attributes(xcb_connection_t *conn,
xcb_dbe_back_buffer_t buffer);
π¦ Reply datastructure
this is the lil struct she hands back at you, no cap:
typedef struct xcb_dbe_get_back_buffer_attributes_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
xcb_dbe_buffer_attributes_t attributes;
uint8_t pad1[20];
} xcb_dbe_get_back_buffer_attributes_reply_t;
πΈ Reply function
and here's how you actually go get the reply, bestie:
xcb_dbe_get_back_buffer_attributes_reply_t
*xcb_dbe_get_back_buffer_attributes_reply(xcb_connection_t *conn,
xcb_dbe_get_back_buffer_attributes_cookie_t cookie,
xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11. the whole link-up, the group chat with the server, iykyk.bufferβ the back buffer you're querying. the one you're curious about. main character of this request, fr fr.
π REPLY FIELDS π
response_typeβ the type of this reply. in this case it'sXCB_DBE_GET_BACK_BUFFER_ATTRIBUTES. this field also lives in thexcb_generic_reply_t, and it's literally how you tell your replies apart from each other. like name tags at a party but for packets. πsequenceβ the sequence number of the last request processed by the X11 server. her receipts, basically.lengthβ the length of the reply, in words. and a word is4bytes, bestie, don't forget.attributesβ TODO: NOT YET DOCUMENTED. yeah. she's a mystery. an enigma. we don't know her yet. π
π DESCRIPTION π
Returns the attributes of the specified buffer. that's it. that's the whole job. she's simple, she's effective, she slays. β¨
π₯ RETURN VALUE π₯
She returns an xcb_dbe_get_back_buffer_attributes_cookie_t. and here's the thing β errors have to be handled when you call the reply function xcb_dbe_get_back_buffer_attributes_reply.
If you'd rather handle errors in the event loop instead, use xcb_dbe_get_back_buffer_attributes_unchecked. the details live over in xcb-requests(3), go peek. π«Ά
π ERRORS π
This request does never generate any errors. not one. zero. she is unproblematic and we love that for her. π
π§ SEE ALSO π§
β AUTHOR β
Generated from dbe.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. so if something's giving wrong, that's who you @. π
okay that's the whole page bestie!! go forth and query those back buffer attributes, you've absolutely got this π β¨
this masterpiece was brought to you by X Version 11 and libxcb 1.17.0 β the icons, the legends, the moment ππ¦
π¦ 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