# Ensure that notify observations are sent during \`Window::draw\(\)\` \(\#4236\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1aa02ac4b613c4e322da2b273f8a0611c70136db

Requested commit: 1aa02ac4b613c4e322da2b273f8a0611c70136db

Commit: 1aa02ac4b613c4e322da2b273f8a0611c70136db

Tree: 93f657601217566b2ae366c9dbe596ef8de164b2

Author: Mikayla Maki

Committer: GitHub

## Message

```
Ensure that notify observations are sent during `Window::draw()` (#4236)

This PR fixes a bug in GPUI where the observation API would not be
triggered if a focus event caused a `notify()`

Release Notes:

- N/A
```

## Parents

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

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

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