mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
caccb608a5
DefWindowProc handles WM_WINDOWPOSCHANGED by sending WM_SIZE and WM_MOVE messages, which would lead us to handle resizes twice. Per MSDN, the WM_SIZE handler is made redundant by handling WM_WINDOWPOSCHANGED: https://learn.microsoft.com/en-us/windows/win32/winmsg/wm-windowposchanged Signed-off-by: Kevin Yuan <farproc@gmail.com> Signed-off-by: Elias Naur <mail@eliasnaur.com>