# Fix a double borrow error in window.open · gitcafe/zed

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

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

Visibility: public

Requested revision: 87d60beda714c18c9a7b216cfa7216f72cebc561

Requested commit: 87d60beda714c18c9a7b216cfa7216f72cebc561

Commit: 87d60beda714c18c9a7b216cfa7216f72cebc561

Tree: 8d165c65f78f0a2041a73681ee19fe2ffa51e4bb

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
Fix a double borrow error in window.open

It seems that sometimes calling toggleFullScreen will cause the
display_layer callback of a different window to fire.

```

## Parents

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

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