---
name: "xcb_shm_completion_event_t"
section: "3"
platform: "linux"
package: "libxcb"
version: "1.17.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/xcb_shm_completion_event_t"
---

# xcb\_shm\_completion\_event\_t(3)

Report that an XCB\_SHM\_PUT\_IMAGE request has completed

## NAME

xcb\_shm\_completion\_event\_t - Report that an XCB\_SHM\_PUT\_IMAGE request has completed

## SYNOPSIS

**#include \<xcb/shm.h\>**

### Event datastructure

```

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

- *response\_type*

  The type of this event, in this case *XCB\_SHM\_COMPLETION*. This field is also present in the *xcb\_generic\_event\_t* and can be used to tell events apart from each other.

- *sequence*

  The sequence number of the last request processed by the X11 server.

- *drawable*

  The drawable used in the XCB\_SHM\_PUT\_IMAGE request.

- *minor\_event*

  The minor opcode used in the request.  Always XCB\_SHM\_PUT\_IMAGE.

- *major\_event*

  The major opcode used in the request.  Always the opcode of the MIT-SHM extension.

- *shmseg*

  The shared memory segment used in the request.

- *offset*

  The offset in the shared memory segment used in the request.

## DESCRIPTION

This is generated by the X server to report that an XCB\_SHM\_PUT\_IMAGE request has been successfully processed.

## SEE ALSO

**xcb\_generic\_event\_t**(3)

## AUTHOR

Generated from shm.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
