From c75f6fd6da769b2d3f4153f22d163fae0579467d Mon Sep 17 00:00:00 2001 From: Emmanuel Hansen Date: Thu, 16 Nov 2023 18:14:51 +0000 Subject: [PATCH] wip --- src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs b/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs index 7a3f411195..bf9e54f56f 100644 --- a/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs +++ b/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs @@ -634,8 +634,9 @@ namespace Avalonia.Win32 case WindowsMessage.WM_MOVE: { - PositionChanged?.Invoke(new PixelPoint((short)(ToInt32(lParam) & 0xffff), - (short)(ToInt32(lParam) >> 16))); + // PositionChanged?.Invoke(new PixelPoint((short)(ToInt32(lParam) & 0xffff), + // (short)(ToInt32(lParam) >> 16))); + PositionChanged?.Invoke(Position); return IntPtr.Zero; }