davidswelt/aquamacs-emacs — pull request #61 by eamsden (2011-11-11 17:51:23+00:00)
Title: Fix fullscreen for OS X 10.7

Most apps allocate their own virtual screen when switching to full screen in Lion. Aquamacs takes over the desktop instead. This commit fixes this by setting the spaces-related window flag only on pre-Lion OSes, and only setting the Lion-related fullscreen flags when running on Lion.

This is my first attempt at hacking on an OS X app or in Objective-C, so feedback is welcomed.