xcb\_damage\_notify\_event\_t(3) XCB Events xcb\_damage\_notify\_event\_t(3)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;xcb/damage.h&gt;**

## [Event datastructure](#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](#EVENT_FIELDS)

[*response\_type*](#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*](#sequence)

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

[*level*](#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*](#drawable)

The drawable for which damage is being reported.

[*damage*](#damage)

The Damage object being used to track the damage.

[*timestamp*](#timestamp)

Time when the event was generated (in milliseconds).

[*area*](#area)

Damaged area of the drawable.

[*geometry*](#geometry)

Total area of the drawable.

# [DESCRIPTION](#DESCRIPTION)

# [SEE ALSO](#SEE_ALSO)

[**xcb\_generic\_event\_t**(3)](/man/os/libxcb/xcb_generic_event_t.3), [**xcb\_create**(3)](/man/os/libxcb/xcb_create.3)

# [AUTHOR](#AUTHOR)

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

libxcb 1.17.0 X Version 11

---

Document: xcb_damage_notify_event_t(3) from libxcb 1.17.0-r17 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxcb.git
