xcb_shm_completion_event_t(3)

πŸ“¦
version 1.17.0 Β· 5 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_shm_completion_event_t ✨

okay bestie, welcome to the xcb_shm_completion_event_t page πŸ’– this is one of the XCB Events girlies, and honestly? she's giving "your shared memory upload finished, congrats queen" πŸŽ€


🌸 NAME 🌸

xcb_shm_completion_event_t β€” the event that reports your XCB_SHM_PUT_IMAGE request has completed 🫢 no cap, that's literally her whole job.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <xcb/shm.h>

πŸ’… Event datastructure πŸ’…

ok so here's the whole struct, character for character, do NOT freestyle on this:

typedef struct xcb_shm_completion_event_t {
    uint8_t        response_type;
    uint8_t        pad0;
    uint16_t       sequence;
    xcb_drawable_t drawable;
    uint16_t       minor_event;
    uint8_t        major_event;
    uint8_t        pad1;
    xcb_shm_seg_t  shmseg;
    uint32_t       offset;
} xcb_shm_completion_event_t;

πŸ‘‘ EVENT FIELDS πŸ‘‘

every single field, explained, because we do not gatekeep here:

  • response_type β€” the type of this event, and in this case it's XCB_SHM_COMPLETION. this field also lives in the xcb_generic_event_t, so you can use it to tell your events apart from each other. it's giving name tag at a party πŸŽ€
  • sequence β€” the sequence number of the last request the X11 server processed. the receipts, basically 🧾
  • drawable β€” the drawable that got used in the XCB_SHM_PUT_IMAGE request. main character of the image, tbh πŸ–ΌοΈ
  • minor_event β€” the minor opcode used in the request. it's always XCB_SHM_PUT_IMAGE, every single time, no exceptions ✨
  • major_event β€” the major opcode used in the request. it's always the opcode of the MIT-SHM extension. periodt πŸ’…
  • shmseg β€” the shared memory segment that got used in the request πŸ“
  • offset β€” the offset in that shared memory segment that got used in the request. yes, the little positional detail, we love her πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

the X server generates this one to report that an XCB_SHM_PUT_IMAGE request has been successfully processed. that's it, that's the tea β€” a lil confirmation notification, from the server to you, because she's thoughtful like that 🌈


⭐ SEE ALSO ⭐

  • xcb_generic_event_t(3)

🫢 AUTHOR 🫢

generated from shm.xml. if you wanna send corrections and improvements, hit up xcb@lists.freedesktop.org β€” they're literally so responsive, iykyk πŸ’œ


ok that's the whole page bestie, slay πŸ’… this was served to you from X Version 11, libxcb 1.17.0 β€” stan a stable library release, mwah πŸ˜­πŸ’–