---
name: "xcb_colormap_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_colormap_notify_event_t"
---

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

the colormap for some window changed

## NAME

xcb\_colormap\_notify\_event\_t - the colormap for some window changed

## SYNOPSIS

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

### Event datastructure

```

typedef struct xcb_colormap_notify_event_t {
    uint8_t        response_type;
    uint8_t        pad0;
    uint16_t       sequence;
    xcb_window_t   window;
    xcb_colormap_t colormap;
    uint8_t        _new;
    uint8_t        state;
    uint8_t        pad1[2];
} xcb_colormap_notify_event_t;
```

## EVENT FIELDS

- *response\_type*

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

- *window*

  The window whose associated colormap is changed, installed or uninstalled.

- *colormap*

  The colormap which is changed, installed or uninstalled. This is *XCB\_NONE* when the colormap is changed by a call to *FreeColormap*.

- *\_new*

  NOT YET DOCUMENTED.

- *state*

  ## DESCRIPTION

## SEE ALSO

**xcb\_generic\_event\_t**(3), [**xcb\_free\_colormap**(3)](/xcb_free_colormap/3.md)

## AUTHOR

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