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

[win32] only take focus on button down events. #6868

Merged
merged 2 commits into from
Nov 22, 2021

Conversation

danwalmsley
Copy link
Member

@danwalmsley danwalmsley commented Nov 5, 2021

What does the pull request do?

If you have some control and use double click event to open a child window... it will do that... but then focus the windows that was used to open the parent.

Its because we cause focus to happen on both the mouse down and mouse up.

Which means that this descision is taken before we have a chance to decide if its a double click or not.

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@danwalmsley danwalmsley disabled auto-merge November 22, 2021 16:15
@danwalmsley danwalmsley merged commit a8713ad into master Nov 22, 2021
@danwalmsley danwalmsley deleted the fixes/focus-on-click-only-button-down branch November 22, 2021 16:15
danwalmsley added a commit that referenced this pull request Nov 23, 2021
…tton-down

[win32] only take focus on button down events.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants