xcb_xf86dri_destroy_drawable(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, 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_xf86dri_destroy_drawable β€” bestie edition

okay so this is a page from XCB Requests (that's the manual name, bestie, XCB Requests, keep up πŸ’–), and we're talking about xcb_xf86dri_destroy_drawable. Yes it's a mouthful. Yes it slays. Let's get into it.


✨ NAME ✨

xcb_xf86dri_destroy_drawable β€” and that's literally it, the name section is giving mysterious because there's no description after the dash. The void is the vibe. 🫢


🌸 SYNOPSIS 🌸

First off, you gotta include the header, no cap:

#include <xcb/xf86dri.h>

πŸŽ€ Request function πŸŽ€

xcb_void_cookie_t xcb_xf86dri_destroy_drawable(xcb_connection_t *conn,
       uint32_t screen, uint32_t drawable);

that's the whole signature, copy it exactly, don't be cute with it πŸ’…


πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” the XCB connection to X11. your lil lifeline to the server, periodt.
  • screen β€” TODO: NOT YET DOCUMENTED. yeah bestie the docs said "we'll get to it" and then did not get to it 😭
  • drawable β€” TODO: NOT YET DOCUMENTED. same energy. iconic honestly.

πŸ‘‘ DESCRIPTION πŸ‘‘

literally nothing here. the original page has this heading and then… silence. a blank. a moment of reflection. we respect it 🧚


⭐ RETURN VALUE ⭐

so it hands you back an xcb_void_cookie_t. if there are errors (hypothetically, in theory), you gotta handle them over in the event loop, not right here. that's just how it is.

and if you'd rather deal with errors directly using xcb_request_check instead? then bestie you want xcb_xf86dri_destroy_drawable_checked. two different paths, pick your fighter. more deets live in xcb-requests(3).


πŸ’€ ERRORS πŸ’€

This request does never generate any errors.

not one. zero. it's giving flawless. no notes ✨


🌈 SEE ALSO 🌈

empty. nothing. the original leaves it blank, so we leave it blank. a little breathing room, as a treat 🌸


πŸ’œ AUTHOR πŸ’œ

Generated from xf86dri.xml. if something's wrong or you wanna improve it, contact xcb@lists.freedesktop.org β€” they're taking corrections and improvements, fr fr.


okay and finally, the cute lil sign-off: this whole thing is X Version 11, from libxcb 1.17.0, and it's page xcb_xf86dri_destroy_drawable(3) of the manual. that's the footer, bestie, we made it to the end πŸŽ€ bye ily πŸ«ΆπŸ’–