Window/Fullscreen Information - Mac Standalone Player

In my application the user can switch between window and full-screen mode.

When quitting the game in window mode, it will also start in window mode. The same happens for full-screen mode.

Where is this "last mode" information stored?

(It is not in the Application Support folders or in the package content.)

It's stored in the preferences.