* nsterm.m (windowDidEnterFullScreen:): setPresentationOptions only
on >= 10.7.
This commit is contained in:
parent
2abb4e6560
commit
ddb317ba82
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-10-07 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* nsterm.m (windowDidEnterFullScreen:): setPresentationOptions only
|
||||
on >= 10.7.
|
||||
|
||||
2013-10-07 Dmitry Antipov <dmantipov@yandex.ru>
|
||||
|
||||
* insdel.c (insert_from_gap): Prefer ptrdiff_t to int where needed.
|
||||
|
|
|
@ -6129,6 +6129,7 @@ - (void)windowDidEnterFullScreen:(NSNotification *)notification
|
|||
{
|
||||
BOOL tbar_visible = FRAME_EXTERNAL_TOOL_BAR (emacsframe) ? YES : NO;
|
||||
#ifdef NS_IMPL_COCOA
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
|
||||
unsigned val = (unsigned)[NSApp presentationOptions];
|
||||
|
||||
// OSX 10.7 bug fix, the menu won't appear without this.
|
||||
|
@ -6143,6 +6144,7 @@ - (void)windowDidEnterFullScreen:(NSNotification *)notification
|
|||
|
||||
[NSApp setPresentationOptions: options];
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
[toolbar setVisible:tbar_visible];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue