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

fix keyboard focus #6449

Closed
wants to merge 1 commit into from
Closed

fix keyboard focus #6449

wants to merge 1 commit into from

Conversation

shezdy
Copy link
Contributor

@shezdy shezdy commented Jun 12, 2024

Describe your PR, what does it fix/add?

fixes #6421

before 6967a31 pWindow->m_pWLSurface was used if a surface wasn't found at the point, this restores that behavior.

basically vectorWindowToSurface was returning a nullptr when the mouse was over a gap/border so in mouseMoveUnified we would end up with a valid pFoundWindow, but a pFoundSurface associated with a layer on the bottom/background instead of the window.

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

nope

Is it ready for merging, or does it need work?

ready

@github-actions github-actions bot added the core label Jun 12, 2024
@vaxerski
Copy link
Member

I've fixed this at the same time a bit differently. a99f314

@vaxerski vaxerski closed this Jun 12, 2024
@shezdy shezdy deleted the keyboard-focus branch June 15, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keyboard focus issues
2 participants