# windows: Avoid recording minimized position to database \(\#9407\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f17915891325a5a1fdeaadcf822448b5dd0c052a

Requested commit: f17915891325a5a1fdeaadcf822448b5dd0c052a

Commit: f17915891325a5a1fdeaadcf822448b5dd0c052a

Tree: 87e3ecf1fe5da107a0040df3d09313e3a94185cd

Author: 白山風露

Committer: GitHub

## Message

```
windows: Avoid recording minimized position to database (#9407)

Minimizing window records strange position to DB. When Zed is restarted,
the window goes far away.
<img width="975" alt="image"
src="https://github.com/zed-industries/zed/assets/6465609/98dbab71-fdbb-4911-b41a-9c3e498e5478">

So I fixed.

Release Notes:

- N/A
```

## Parents

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

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