# gpui_macos: Fix fullscreen behavior on non-macOS and after restart \(\#62819\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 242fe31a399f695103dd0cfe7dcef33a59fbf596

Requested commit: 242fe31a399f695103dd0cfe7dcef33a59fbf596

Commit: 242fe31a399f695103dd0cfe7dcef33a59fbf596

Tree: e36b0e12658c71a97504869e0d6586a0797a234d

Author: Smit Barmase

Committer: GitHub

## Message

```
gpui_macos: Fix fullscreen behavior on non-macOS and after restart (#62819)

Follow-up to #60020.

- Fixes simple fullscreen preventing fullscreen from working on Linux
and Windows (since I use shared dotfiles).
- Fixes quitting Zed in simple fullscreen not correctly restoring the
previous window bounds, causing it to reopen maximized. We are not
handling opening it back in simple fullscreen yet.

Release Notes:

- N/A
```

## Parents

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

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