XCB_DBE_DEALLOCATE_BACK_BUFFER_CHECKED(3)
π xcb_dbe_deallocate_back_buffer β from the XCB Requests manual (section 3) β¨
okay bestie, listen, we're doing some X11 double-buffering cleanup today and honestly? it's giving "tidying my room at 2am" energy but for back buffers π
πΈ NAME πΈ
xcb_dbe_deallocate_back_buffer β deallocates a back buffer π
β¨ SYNOPSIS β¨
#include <xcb/dbe.h>
π¦ Request function π¦
xcb_void_cookie_t xcb_dbe_deallocate_back_buffer(xcb_connection_t *conn,
xcb_dbe_back_buffer_t buffer);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11, aka your little hotline to the server, periodt π₯bufferβ the back buffer you want to deallocate. bye babe π«Ά
π DESCRIPTION π
So basically, this deallocates the given buffer. that's the whole vibe.
but WAIT, there's lore π β if buffer is an invalid id, a BadBuffer error is returned. and here's the part that matters most: because a window may have allocated multiple back buffer ids, the back buffer itself is not deleted until all these ids are deallocated by this call. it's not a "one and done" situation, it's a "wait for everyone to leave the group chat" situation π
π RETURN VALUE π
Returns an xcb_void_cookie_t. any errors (if any) have to be handled in the event loop, so don't come crying to the return value, she doesn't do that π
if you'd rather handle errors directly with xcb_request_check instead, use xcb_dbe_deallocate_back_buffer_checked. see xcb-requests(3) for the details, iykyk π
π ERRORS π
this request does never generate any errors. clean. flawless. no drama. ate. β¨
π₯ SEE ALSO π₯
π AUTHOR π
Generated from dbe.xml. Contact xcb@lists.freedesktop.org for corrections and improvements β they're literally the ones who'd know π«Ά
ngl, that's the whole page bestie. go free those buffer ids. no cap. π¦
and that's a wrap on X Version 11, libxcb 1.17.0 β stay iconic, xoxo ππ
π¦ 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