# Ensure focus_in and focus_out fire on window activation · gitcafe/zed

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

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

Visibility: public

Requested revision: 1bf33b4b61acfda1cf4ee0c6f67e4059bc6e839a

Requested commit: 1bf33b4b61acfda1cf4ee0c6f67e4059bc6e839a

Commit: 1bf33b4b61acfda1cf4ee0c6f67e4059bc6e839a

Tree: f701b02955f112eed3d0f87839ab398cb81d0c74

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
Ensure focus_in and focus_out fire on window activation

Also:
- Rename cx.on_blur to cx.on_focus_lost
- Fix a bug where notify calls in focus handlers were ignored
- Fix a bug where vim would get stuck in the wrong mode when switching
  windows

```

## Parents

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

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