1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

* nsterm.m (ns_update_auto_hide_menu_bar): Only for OSX 10.6 or later.

Fixes: debbugs:8403
This commit is contained in:
Jan Djärv 2011-04-02 09:11:00 +02:00
parent 9952e40bd8
commit 8c74fcbddb
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2011-04-02 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (ns_update_auto_hide_menu_bar): Only for OSX 10.6 or
later (Bug#8403).
2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
Add lexical binding.

View file

@ -583,6 +583,8 @@ ns_menu_bar_should_be_hidden (void)
static void
ns_update_auto_hide_menu_bar (void)
{
#ifdef NS_IMPL_COCOA
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
BLOCK_INPUT;
NSTRACE (ns_update_auto_hide_menu_bar);
@ -615,6 +617,8 @@ ns_update_auto_hide_menu_bar (void)
}
UNBLOCK_INPUT;
#endif
#endif
}