# Round window corners on the sidebar side on Linux \(\#61229\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9d7ab044366fb266cecb30b214aea8b7b94c032d

Requested commit: 9d7ab044366fb266cecb30b214aea8b7b94c032d

Commit: 9d7ab044366fb266cecb30b214aea8b7b94c032d

Tree: e73869892cb255ac91b343dab0489a3da7d743ce

Author: Eric Holk

Committer: GitHub

## Message

```
Round window corners on the sidebar side on Linux (#61229)

On Linux with client-side decorations, opening the workspace sidebar
squared off the window corners on the sidebar's side while the rest of
the window stayed rounded:

Before:
<img width="366" height="239" alt="image"
src="https://github.com/user-attachments/assets/e0ee8d28-6143-42ea-bfd2-10d069df5492"
/>

After:
<img width="426" height="219" alt="image"
src="https://github.com/user-attachments/assets/51d2979d-0103-4742-90bd-a97f5837d99b"
/>

Previously, `client_side_decorations` took a `border_radius_tiling`
override that `MultiWorkspace` used to deliberately square the window
shape on the sidebar's side, since the sidebar painted a square
background that would otherwise poke out past the rounded window border.
The title bar and status bar already skip rounding their corners on the
sidebar side, implying the sidebar is expected to own those window
corners — it just never rounded them.

This PR makes the sidebar round its outer corners the same way the title
bar and status bar do (including overlapping the 1px window border on
untiled edges to avoid a transparent gap in the rounded corners), and
removes the now-unneeded `border_radius_tiling` parameter so the window
border and backdrop round purely based on actual tiling state.

Only applies when the window uses client-side decorations, so macOS and
Windows are unaffected.

Fixes #54724 

Release Notes:

- Fixed square window corners on the sidebar side of client-decorated
(Linux) windows when the workspace sidebar is open.

---------

Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
```

## Parents

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

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