# gpui: Implement dynamic window control elements \(\#30828\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ca3f46588a7430c903764edeeb3194414c3160d1

Requested commit: ca3f46588a7430c903764edeeb3194414c3160d1

Commit: ca3f46588a7430c903764edeeb3194414c3160d1

Tree: 698186e1522d88b437a3c4d28575ca356cd24191

Author: Matin Aniss

Committer: GitHub

## Message

```
gpui: Implement dynamic window control elements (#30828)

Allows setting element as window control elements which consist of
`Drag`, `Close`, `Max`, or `Min`. This allows you to implement
dynamically sized elements that control the platform window, this is
used for areas such as the title bar. Currently only implemented for
Windows.

Release Notes:

- N/A
```

## Parents

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

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