Skip to content

Instantly share code, notes, and snippets.

@ealden
ealden / emacs-23-lion-fullscreen-test-for-emacs-24.1.patch
Created September 3, 2012 15:01 — forked from henry0312/emacs-23-lion-fullscreen-test-for-emacs-24.1.patch
Fix typester's emacs-23-lion-fullscreen-test.patch to follow Emacs 24.1
diff --git a/src/nsterm.m b/src/nsterm.m
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -5507,6 +5507,7 @@ ns_term_shutdown (int sig)
[win setAcceptsMouseMovedEvents: YES];
[win setDelegate: self];
[win useOptimizedDrawing: YES];
+ [win setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
sz.width = FRAME_COLUMN_WIDTH (f);