# Add setting for enabling server-side decorations \(\#39250\) · gitcafe/zed

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

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

Visibility: public

Requested revision: dfa102c5ae2b69e7f4e0faa8c24c9b229faa4eac

Requested commit: dfa102c5ae2b69e7f4e0faa8c24c9b229faa4eac

Commit: dfa102c5ae2b69e7f4e0faa8c24c9b229faa4eac

Tree: a1d19aae5f38ae4009e7b2f79c10804e0842eee8

Author: Be

Committer: GitHub

## Message

```
Add setting for enabling server-side decorations (#39250)

Previously, this was controllable via the undocumented
ZED_WINDOW_DECORATIONS environment variable (added in #13866). Using an
environment variable for this is inconvenient because it requires users
to set that environment variable somehow before starting Zed, such as in
the .desktop file or persistently in their shell. Controlling this via a
Zed setting is more convenient.

This does not modify the design of the titlebar in any way. It only
moves the existing option from an environment variable to a Zed setting.

Fixes #14165

Client-side decorations (default):
<img width="3840" height="2160" alt="image"
src="https://github.com/user-attachments/assets/525feb92-2f60-47d3-b0ca-47c98770fa8c"
/>


Server-side decorations in KDE Plasma:
<img width="3840" height="2160" alt="image"
src="https://github.com/user-attachments/assets/7379c7c8-e5e3-47ba-a3ea-4191fec9434d"
/>

Release Notes:

- Changed option for Wayland server-side decorations from an environment
variable to settings.json field

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

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

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