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
fix: handle non-client area pointer events from pen on Win10 #24042
Conversation
4eb7568
to
0f4b547
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍 Thanks for upstreaming the change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
Release Notes Persisted
|
I have automatically backported this PR to "8-x-y", please check out #24101 |
I have automatically backported this PR to "10-x-y", please check out #24102 |
I have automatically backported this PR to "9-x-y", please check out #24103 |
I have automatically backported this PR to "7-3-x", please check out #24104 |
Description of Change
Fix #21440.
Chromium does not handle non-client area pointer events from pen on Windows 10, which ends up with native window frame not responding to pen touches. This is not a problem in Chromium because they use custom frame instead of native frame.
This PR routes the non-client area pointer events from pen to touch events handlers, so they can be properly handled. This should not have side effects since we don't need to distinguish pen from finger in the non-client window frame.
This is tested on Surface Pro 7 with a pen.
Checklist
npm test
passesRelease Notes
Notes: Fix window titlebar not responding to pen on Windows 10