---
name: "xcb_damage_notify_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_damage_notify_event_t"
---

# xcb\_damage\_notify\_event\_t(3)

the contents of the monitored drawable have changed

## NAME

xcb\_damage\_notify\_event\_t - the contents of the monitored drawable have changed

## SYNOPSIS

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

### Event datastructure

```

typedef struct xcb_damage_notify_event_t {
    uint8_t             response_type;
    uint8_t             level;
    uint16_t            sequence;
    xcb_drawable_t      drawable;
    xcb_damage_damage_t damage;
    xcb_timestamp_t     timestamp;
    xcb_rectangle_t     area;
    xcb_rectangle_t     geometry;
} xcb_damage_notify_event_t;
```

## EVENT FIELDS

- *response\_type*

  The type of this event, in this case *XCB\_DAMAGE\_NOTIFY*. 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.

- *level*

  The level of the damage being reported. If the 0x80 bit is set, indicates there are subsequent Damage events being delivered immediately as part of a larger Damage region.

- *drawable*

  The drawable for which damage is being reported.

- *damage*

  The Damage object being used to track the damage.

- *timestamp*

  Time when the event was generated (in milliseconds).

- *area*

  Damaged area of the drawable.

- *geometry*

  Total area of the drawable.

## DESCRIPTION

## SEE ALSO

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

## AUTHOR

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