# gpui: Add middle and right click mouse events for macOS \(\#49637\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3060e4170ea5ef0e6886b9ac1853aaead9ddd59f

Requested commit: 3060e4170ea5ef0e6886b9ac1853aaead9ddd59f

Commit: 3060e4170ea5ef0e6886b9ac1853aaead9ddd59f

Tree: 62cb67779af126faf0bedecd58f53ec47741e5bc

Author: Gustaf Johansson

Committer: GitHub

## Message

```
gpui: Add middle and right click mouse events for macOS (#49637)

- [x] Added a solid test coverage and/or screenshots from doing manual
testing
  Manual testing performed successfully on Tahoe 26.2.
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed missing right- and middle-mouse button drag on MacOS

Co-authored-by: MrSubidubi <finn@zed.dev>
```

## Parents

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

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