Skip to content

Conversation

@dblohm7
Copy link
Member

@dblohm7 dblohm7 commented Jun 27, 2025

We handle NIN_KEYSELECT and NIN_SELECT identically to WM_LBUTTONUP.

We initialize the hidden event sink window with WS_DISABLED and annotate it with a window role instead of a client role, in the hope that this will discourage screen readers from focusing on it.

Finally, we do a bit of cleanup since we're already in here.

Updates https://github.com/tailscale/corp/issues/29972

@dblohm7 dblohm7 requested a review from nickkhyl June 27, 2025 21:49
We handle NIN_KEYSELECT and NIN_SELECT identically to WM_LBUTTONUP.

We initialize the hidden event sink window with WS_DISABLED and annotate
it with a window role instead of a client role, in the hope that this
will discourage screen readers from focusing on it.

Finally, we do a bit of cleanup since we're already in here.

Updates tailscale/corp#29972

Signed-off-by: Aaron Klotz <[email protected]>
@dblohm7 dblohm7 force-pushed the aaron/disable_ni_event_sink branch from 48547f3 to 717711a Compare July 2, 2025 15:51
@dblohm7 dblohm7 merged commit 6376def into main Jul 2, 2025
2 checks passed
@dblohm7 dblohm7 deleted the aaron/disable_ni_event_sink branch July 2, 2025 15:53
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