Skip to content

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

Merged
MrSubidubi merged 2 commits intozed-industries:mainfrom
gustafj:right-middle-mouse-dragged
Mar 29, 2026
Merged

gpui: Add middle and right click mouse events for macOS#49637
MrSubidubi merged 2 commits intozed-industries:mainfrom
gustafj:right-middle-mouse-dragged

Conversation

@gustafj
Copy link
Copy Markdown
Contributor

@gustafj gustafj commented Feb 19, 2026

Closes #52643

  • Added a solid test coverage and/or screenshots from doing manual testing
    Manual testing performed successfully on Tahoe 26.2.
  • Done a self-review taking into account security and performance aspects
  • Aligned any UI changes with the UI checklist

Release Notes:

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

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 19, 2026
@zed-community-bot zed-community-bot bot added the first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions label Feb 19, 2026
@gustafj gustafj force-pushed the right-middle-mouse-dragged branch from 9276c5c to 943cd10 Compare February 21, 2026 16:44
@gustafj gustafj force-pushed the right-middle-mouse-dragged branch from 943cd10 to 7b681c7 Compare February 21, 2026 16:45
@MrSubidubi MrSubidubi self-assigned this Mar 12, 2026
@MrSubidubi MrSubidubi changed the title gpui: Add mac middle & right mouse dragged events gpui: Add middle and right click mouse events for macOS Mar 12, 2026
@gustafj
Copy link
Copy Markdown
Contributor Author

gustafj commented Mar 17, 2026

I use this functionality in a custom tool, and thus I've verified it working 😄 .
The Windows and Linux backends should already support this.

Copy link
Copy Markdown
Member

@MrSubidubi MrSubidubi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay here, looks good. Thank you!

@MrSubidubi MrSubidubi merged commit 3060e41 into zed-industries:main Mar 29, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gpui_macos: right mouse drag events are not forwarded to GPUI views on macOS

2 participants