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

datadevice: do the unfocus surface stuff before dndActive is true #9155

Closed
wants to merge 1 commit into from

Conversation

PaideiaDilemma
Copy link
Contributor

Describe your PR, what does it fix/add?

Closes #8923

g_pSeatManager->setPointerFocus(nullptr, {}); did not do what it did before introducing dndPointerFocus, because it now checks PROTO::data->dndActive(). Moving it before setting currentSource fixes the issue.

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

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

@PaideiaDilemma
Copy link
Contributor Author

Wait no this is not correct, since it checked for dndActive in setPointerFocus before as well. Breaks other dnd stuff.

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.

Firefox - pragmatic drag and drop loses drag context before user lets go
1 participant