What is the intended event arrival order when window is maximized/minimized?
Currently on Windows when I maximize a window, I receive events in the following order:
Is this consistent between platforms or is it not guaranteed? I would actually expect events to arrive in the following order:
This would be achievable if maximized event was tracked via WM_SYSCOMMAND (wParam == SC_MAXIMIZE), which arrives before WM_MOVE and WM_SIZE. Currently it is tracked via WM_SIZE (wParam == SIZE_MAXIMIZED), but WM_SIZE arrives after WM_MOVE - hence the current order.