Function Window.handleWindowStateChange
update and signal window state and/or size/positon changes - for using in platform inplementations
update and signal window state and/or size/positon changes - for using in platform inplementations