mono/MonoGame — pull request #273 by kungfubanana (2012-02-01 04:14:07+00:00)
Title: Fixes Mac Synchronous Run Mode

Mac synchronous run mode now uses NSApplication.PostEvent rather than CGEvent to ensure that NSApplication.Stop takes immediate effect. This facilitated the removal of a bunch of gross P/Invoke code as well as providing perfect behavior.