# wayland: Fix window state issues \(\#13885\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5c7e6b7eff1e396408dcd117cc591171d0274d9f

Requested commit: 5c7e6b7eff1e396408dcd117cc591171d0274d9f

Commit: 5c7e6b7eff1e396408dcd117cc591171d0274d9f

Tree: 322c088f8a2e850cc1e18e638b95ccca61154900

Author: apricotbucket28

Committer: GitHub

## Message

```
wayland: Fix window state issues (#13885)

Fixes some issues with the CSD added in
https://github.com/zed-industries/zed/pull/13611

Here's a video comparing the master branch (yellow icon) with this PR
(blue icon):


https://github.com/zed-industries/zed/assets/71973804/35be443a-8f24-4aed-910b-625bad9821e2

_Note: the flicker at the bottom of the window when maximizing is an
issue with the KDE floating task bar, it happens with all programs._

Release Notes:

- N/A
```

## Parents

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

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