# wayland: Fix window bounds restoration \(\#12581\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 344e5e1cf23e79da097b2606fe222073122b30c0

Requested commit: 344e5e1cf23e79da097b2606fe222073122b30c0

Commit: 344e5e1cf23e79da097b2606fe222073122b30c0

Tree: a97e363898f99f99502bf6003e8c4fb29c0a38f0

Author: apricotbucket28

Committer: GitHub

## Message

```
wayland: Fix window bounds restoration (#12581)

Fixes multiple issues that prevented window bounds restoration to not
work on Wayland.

Note: Since the display uuid depends on the `wl_output.name` field, this
only works properly on KDE 5.26+ or Gnome 44+ ([kwin
commit](https://github.com/KDE/kwin/commit/330a02d862329893957532f46655c52c755f3731),
[mutter](https://github.com/GNOME/mutter/commit/7e838b1115f195ba4c7b06169ade3407d29c66d0)).

Release Notes:

- N/A
```

## Parents

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

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