# Enable server side decorations on wayland \(\#8037\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fddb778e5fb9307635a4caaa0239cc9bbad684c3

Requested commit: fddb778e5fb9307635a4caaa0239cc9bbad684c3

Commit: fddb778e5fb9307635a4caaa0239cc9bbad684c3

Tree: aadb4d7037c1b13c69c3ca9ae1c2e7c8c4bf2581

Author: Janrupf

Committer: GitHub

## Message

```
Enable server side decorations on wayland (#8037)

This PR enables server side decorations on Wayland if possible. This is
stopgap solution, so that the window can be moved, resized and dragged
on Wayland sessions at all.


![image](https://github.com/zed-industries/zed/assets/25827180/3dc9af53-76c0-4664-8746-ed6a6e5eafe7)

Since Wayland compositors can decide to force either mode (as in,
forcing server or client side decorations), this requires additional
handling in zed. Since zed doesn't provide any of that handling as of
now, as a temporary solution server side decorations are always
requested.
```

## Parents

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

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