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

servoshell: Support Cursor::None and all winit keys #32228

Merged
merged 1 commit into from May 13, 2024

Conversation

Nopey
Copy link
Contributor

@Nopey Nopey commented May 5, 2024

Cursor::None now hides the cursor, and more keys from winit are supported.
Exhaustive matching is used where possible, keys that are intentionally mapped to Unidentified are now explicitly matched as such (where previously this was documented in a comment).


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • There are tests for these changes OR
  • These changes do not require tests because ___

@Nopey Nopey marked this pull request as draft May 5, 2024 17:02
@Nopey Nopey changed the title servoshell: Implement Cursor::None & support more keys servoshell: Support Cursor::None and all winit keys May 5, 2024
@Nopey Nopey marked this pull request as ready for review May 5, 2024 21:57
ports/servoshell/keyutils.rs Show resolved Hide resolved
ports/servoshell/keyutils.rs Outdated Show resolved Hide resolved
@Nopey Nopey force-pushed the more-input branch 3 times, most recently from 6e3a9ed to 3d0f866 Compare May 6, 2024 15:22
Copy link
Member

@mrobinson mrobinson left a comment

Choose a reason for hiding this comment

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

This looks great to me apart from the unnecessary changes to the stylo crates. Once those are reverted this can be landed.

Cargo.toml Outdated Show resolved Hide resolved
keyboard-types has been bumped to 0.7, and stylo bumped to latest main
(as of 2024-05-05) for their bump to kbd-types 0.7.
@mrobinson mrobinson enabled auto-merge May 13, 2024 12:15
@mrobinson mrobinson added this pull request to the merge queue May 13, 2024
Merged via the queue into servo:main with commit c0494e2 May 13, 2024
9 checks passed
@Nopey Nopey deleted the more-input branch May 14, 2024 04:29
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.

None yet

4 participants