OSX Problem with Maximize

I am running into an issue with a game that is built for a fixed resolution of 1280 x 720.

On Windows PCs, this is not an issue.

But with Mac OSX, for some reason, even though it’s fixed resolution, you can maximize the game window. And once it’s maximized, it cannot be un-maximized, even when the Mac user presses Escape, the normal key to get out of fullscreen window for an app, or Alt-Enter, a key combo that we have found works for some apps.

Has anyone run into this issue? Any suggestions on a solution?

You use Command-F to switch between windowed mode and full screen. You can use Command-Q to quit the application in full screen.

OK, great thanks.

Is there a way to trigger those commands from within a Unity script?