Skip to content

Fix middle/other mouse buttons on macOS#2605

Merged
kchibisov merged 1 commit intomasterfrom
unknown repository
Jan 18, 2023
Merged

Fix middle/other mouse buttons on macOS#2605
kchibisov merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Dec 26, 2022

On macOS, otherMouseDown: and otherMouseUp: callbacks always result in a MouseButton::Middle event.

@ghost ghost requested a review from madsmtm as a code owner December 26, 2022 22:23
@madsmtm madsmtm added DS - appkit Affects the AppKit/macOS backend B - bug Dang, that shouldn't have happened labels Dec 28, 2022
Copy link
Copy Markdown
Member

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

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

Also needs a changelog entry IMHO ;)

@ghost
Copy link
Copy Markdown
Author

ghost commented Jan 5, 2023

I've added a changelog entry and some comments btw.

@ghost ghost requested a review from madsmtm January 12, 2023 14:45
@kchibisov kchibisov mentioned this pull request Jan 17, 2023
11 tasks
All buttons except for the left/right/middle was always reported
as middle.
Copy link
Copy Markdown
Member

@kchibisov kchibisov left a comment

Choose a reason for hiding this comment

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

I've slightly cleaned up the code. Should be good now.

Thanks!

@kchibisov kchibisov merged commit 1886949 into rust-windowing:master Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B - bug Dang, that shouldn't have happened DS - appkit Affects the AppKit/macOS backend

Development

Successfully merging this pull request may close these issues.

2 participants