Function SDLWindow.handleWindowStateChange
update and signal window state and/or size/positon changes - for using in platform inplementations
override void handleWindowStateChange(
WindowState newState,
Rect newWindowRect = RECT_VALUE_IS_NOT_SET
);