---
name: "xcb_dri2_buffer_swap_complete_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_dri2_buffer_swap_complete_event_t"
---

# xcb\_dri2\_buffer\_swap\_complete\_event\_t(3)

## NAME

xcb\_dri2\_buffer\_swap\_complete\_event\_t -

## SYNOPSIS

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

### Event datastructure

```

typedef struct xcb_dri2_buffer_swap_complete_event_t {
    uint8_t        response_type;
    uint8_t        pad0;
    uint16_t       sequence;
    uint16_t       event_type;
    uint8_t        pad1[2];
    xcb_drawable_t drawable;
    uint32_t       ust_hi;
    uint32_t       ust_lo;
    uint32_t       msc_hi;
    uint32_t       msc_lo;
    uint32_t       sbc;
} xcb_dri2_buffer_swap_complete_event_t;
```

## EVENT FIELDS

- *response\_type*

  The type of this event, in this case *XCB\_DRI2\_BUFFER\_SWAP\_COMPLETE*. 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.

- *event\_type*

  NOT YET DOCUMENTED.

- *drawable*

  NOT YET DOCUMENTED.

- *ust\_hi*

  NOT YET DOCUMENTED.

- *ust\_lo*

  NOT YET DOCUMENTED.

- *msc\_hi*

  NOT YET DOCUMENTED.

- *msc\_lo*

  NOT YET DOCUMENTED.

- *sbc*

  NOT YET DOCUMENTED.

## DESCRIPTION

## SEE ALSO

## AUTHOR

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