summaryrefslogtreecommitdiff
path: root/src/nsterm.h
diff options
context:
space:
mode:
authorAnders Lindgren <andlind@gmail.com>2015-11-15 18:46:04 +0100
committerAnders Lindgren <andlind@gmail.com>2015-11-15 18:51:50 +0100
commit63e6f4c820bb677bc915445c99041a51aef6bdab (patch)
tree283bdf69345fb66660a47a9a88ee49e8c4db0d8e /src/nsterm.h
parent4f19767dfa527955b94c9133e8ce03cf1c766750 (diff)
downloademacs-63e6f4c820bb677bc915445c99041a51aef6bdab.tar.gz
Fixed OS X 10.6.8 build issue (bug#21862).
* src/nsterm.h (EmacsView): Add missing declarations. * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like the standard method but without the notification parameter. Intended to be used for direct calls. ([EmacsView windowDidEnterFullScreen]): Call the non-notification version of `windowDidBecomeKey'. Made the notification method call the non-notification method instead of the vice versa. (NSWindowDidEnterFullScreenNotification): Deleted, no longer needed.
Diffstat (limited to 'src/nsterm.h')
-rw-r--r--src/nsterm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nsterm.h b/src/nsterm.h
index 1b330f08636..7828af73f68 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -412,6 +412,13 @@ void nstrace_leave(int *);
- (void)windowDidMove: (id)sender;
#endif
- (int)fullscreenState;
+
+/* Non-notification versions of NSView methods. Used for direct calls. */
+- (void)windowWillEnterFullScreen;
+- (void)windowDidEnterFullScreen;
+- (void)windowWillExitFullScreen;
+- (void)windowDidExitFullScreen;
+- (void)windowDidBecomeKey;
@end