Represents the state of a window.
read onlyfocused:Bool
Whether the current window is focused.
read onlyactive:Bool
Whether the window has been interacted with recently. This will change immediately on activity, or after a short time of user inactivity.