# Make drag and double click enabled on the whole title bar on macOS \(\#41839\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 305206fd483076db9c021315e1840f2000c83d74

Requested commit: 305206fd483076db9c021315e1840f2000c83d74

Commit: 305206fd483076db9c021315e1840f2000c83d74

Tree: e218512ff109810766e73ea197cd28ef3a80fd5c

Author: Ivan Pasquariello

Committer: GitHub

## Message

```
Make drag and double click enabled on the whole title bar on macOS (#41839)

Closes #4947

Taken inspiration from @tasuren implementation, plus the addition for
the double click enabled on the whole title bar too to
maximizes/restores the window.

I was not able to test the application on Linux, no need to test on
Windows since the feature is enabled by the OS.

Release Notes:

- Fixed title bar not fully draggable on macOS
- Fixed not being able to maximizes/restores the window with double
click on the whole title bar on macOS
```

## Parents

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

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