Based on the comments, I’m not sure if the problem is related to retrieving the resolution that it’s been changed to or physically enabling the ability to resize the application window. If it’s the latter, there is an option in Edit → Project Settings → Player under Standalone Player for “Resizable Window” that can be checked to allow this behaviour.