On Tue Oct 22 15:51:49 2024 +0000, Paul Gofman wrote:
Also mind that the new message is only sent if the window position actually changes, that is probably not the most hot path, not sanely possible for an app to change some window position each frame without inducing much bigger issues.
Hmm okay, but still, making a dedicated request and flag feels a bit too much like a ad-hoc solution to workaround an incorrect design. I know fixing the design would potentially require more changes, but I think it's the right thing to do. Adding ad-hoc workarounds will just make it more difficult to fix it later. For instance it's described in https://devblogs.microsoft.com/oldnewthing/20111219-00/?p=8863 that WM_MOUSEMOVE are generated on-demand, probably this is the case where it happens.