window: Sanitize maximized and fullscreen state values
Ensure window->is_maximized is 1. Do the same to fullscreen for consistency. Remove an obsolete comment, since is_maximized actually has the correct value now.
Really fixes #1 (closed)
Edited by Alice Mikhaylenko