# In macOS platform layer map a ctrl-click to a right click \(\#2755\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0b6155609d12b02ea95a0628336f046584daacb0

Requested commit: 0b6155609d12b02ea95a0628336f046584daacb0

Commit: 0b6155609d12b02ea95a0628336f046584daacb0

Tree: c7575327dc689bb9c7f9535852c205102d47ce76

Author: Julia

Committer: GitHub

## Message

```
In macOS platform layer map a ctrl-click to a right click (#2755)

Maps a ctrl left down event into a ctrl-less right down and then up pair
and filters out ctrl left up. Hopefully this ensures that mouse down/up
events remain balanced and somewhat matching.

Release Notes:
- Added the ability to ctrl-click in place of right click to summon
context menus
([#1150](https://github.com/zed-industries/community/issues/1150)).
```

## Parents

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

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

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