Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core-graphics: add event set_location #713

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

iparaskev
Copy link
Contributor

No description provided.

@@ -868,4 +874,5 @@ extern "C" {

fn CGEventTapEnable(tap: CFMachPortRef, enable: bool);

fn CGEventSetLocation(event: crate::sys::CGEventRef, location: CGPoint);
Copy link
Member

Choose a reason for hiding this comment

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

All other CG... functions here have rust documentation, so it makes sense to add it here as well, I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, I added to CGEventTapEnable as well.

Adds documentation to CGEventTapEnable and CGEventSetLocation.
@mrobinson
Copy link
Member

Thanks for the contribution!

@mrobinson mrobinson added this pull request to the merge queue Oct 15, 2024
Merged via the queue into servo:main with commit ef896fe Oct 15, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants