Skip to content

Commit

Permalink
Merge pull request #7804 from ltetak/feature/mouse_over_events
Browse files Browse the repository at this point in the history
Invalid Mouse Over events on NC raw events
  • Loading branch information
jmacato authored and danwalmsley committed May 10, 2022
1 parent 1f9e7d0 commit 806262b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Avalonia.Input/MouseDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ private void ProcessRawEvent(RawPointerEventArgs e)
if(mouse._disposed)
return;

if (e.Type == RawPointerEventType.NonClientLeftButtonDown) return;

_position = e.Root.PointToScreen(e.Position);
var props = CreateProperties(e);
var keyModifiers = KeyModifiersUtils.ConvertToKey(e.InputModifiers);
Expand Down

0 comments on commit 806262b

Please sign in to comment.