Skip to content

Conversation

@hbatagelo
Copy link

This simplifies the logic for focusing the root view when the top-level window is activated. It removes the handling of WM_MOUSEACTIVATE, as WM_ACTIVATE already accounts for activations via mouse clicks. Additionally, it ensures that the view is not focused when the top-level window is being deactivated.

@hbatagelo hbatagelo requested a review from mattkae March 10, 2025 20:19
Copy link

@mattkae mattkae left a comment

Choose a reason for hiding this comment

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

Nice 🎉

@mattkae mattkae merged commit ecbbfdf into foundation Mar 11, 2025
1 of 2 checks passed
@mattkae mattkae deleted the simplify-view-focus branch March 11, 2025 12: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.

3 participants