# x11: Fix keymap reload to happen on XkbMapNotify not MapNotify \(\#32771\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3595dbb155d692a000d1f556e2e49c8b05ff5c2d)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3595dbb155d692a000d1f556e2e49c8b05ff5c2d

Requested commit: 3595dbb155d692a000d1f556e2e49c8b05ff5c2d

Commit: 3595dbb155d692a000d1f556e2e49c8b05ff5c2d

Tree: 5c7e8a1c44507521f2bc63931d4229e735a2e543

Author: Michael Sloan

Committer: GitHub

## Message

```
x11: Fix keymap reload to happen on XkbMapNotify not MapNotify (#32771)

Keyboard hot reloading was added in #15059, but also reloaded this on
MapNotify instead of XkbMapNotify, so it wasn't handling keymap change
events and was instead reloading when windows are mapped (typically when
they go from a minimized / other workspace state to being visible).

Release Notes:

- N/A
```

## Parents

- [61771e7e4ad4b1de0d85b4ed353b6d7f4e74f474](https://git.cafe/gitcafe/zed/commit/61771e7e4ad4b1de0d85b4ed353b6d7f4e74f474?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3595dbb155d692a000d1f556e2e49c8b05ff5c2d?format=markdown)
