# Avoid calling \`update_window\` twice in \`blurred\` event handler · gitcafe/zed

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

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

Visibility: public

Requested revision: 912a4cf54999ad0d7c72c936374df9f366461e18

Requested commit: 912a4cf54999ad0d7c72c936374df9f366461e18

Commit: 912a4cf54999ad0d7c72c936374df9f366461e18

Tree: c81b71116fc6151094057a560ea80dda6f9e1ce3

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Avoid calling `update_window` twice in `blurred` event handler

This was preventing us from unhooking vim when performing a rename,
which prevented typing in the rename editor.

```

## Parents

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

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