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

Port DragMove logic from WPF #14186

Merged
merged 2 commits into from
Jan 13, 2024
Merged

Port DragMove logic from WPF #14186

merged 2 commits into from
Jan 13, 2024

Conversation

jmacato
Copy link
Member

@jmacato jmacato commented Jan 12, 2024

This logic seems to work better than sending WM_NCLBUTTONDOWN. It doesn't seem to block button events and it's what WPF uses as well so yeah.

cc @kekekeks @emmauss

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.1.999-cibuild0043532-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.1.999-cibuild0043536-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added the backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch label Jan 13, 2024
@maxkatz6 maxkatz6 added this pull request to the merge queue Jan 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 13, 2024
@maxkatz6 maxkatz6 merged commit 9708426 into master Jan 13, 2024
7 checks passed
@maxkatz6 maxkatz6 deleted the fixes/win32-begindragmove branch January 13, 2024 02:16
@maxkatz6 maxkatz6 added backported-11.0.x and removed backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch labels Jan 17, 2024
maxkatz6 pushed a commit that referenced this pull request Jan 17, 2024
* Port DragMove logic from WPF to fix missing PointerReleased event on drag out.

* remove WindowState.Normal check
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.

4 participants