forked from joejulian/gio
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>