aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJan Djärv2011-03-27 12:36:44 +0200
committerJan Djärv2011-03-27 12:36:44 +0200
commitf0a1382af3afa31708d3ce2f4c28bce61565aada (patch)
tree3496ce73efe0ae5a747377d5154265f10b64bed9 /src/ChangeLog
parent5c380ffb17f2fb6f22d9f24a7732b7e4a1e0cd52 (diff)
downloademacs-f0a1382af3afa31708d3ce2f4c28bce61565aada.tar.gz
emacs-f0a1382af3afa31708d3ce2f4c28bce61565aada.zip
Introduce ns-auto-hide-menu-bar to hide menubar for Emacs frames.
Code by Anders Lindgren. * nsterm.m (ns_menu_bar_is_hidden): New variable. (ns_constrain_all_frames, ns_menu_bar_should_be_hidden) (ns_update_auto_hide_menu_bar): New functions. (ns_update_begin): Call ns_update_auto_hide_menu_bar. (applicationDidBecomeActive): Call ns_update_auto_hide_menu_bar and ns_constrain_all_frames. (constrainFrameRect): Return at once if ns_menu_bar_should_be_hidden. (syms_of_nsterm): DEFVAR ns-auto-hide-menu-bar, init to Qnil.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index eb03806b33a..96f60877fce 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
12011-03-27 Anders Lindgren <andlind@gmail.com>
2
3 * nsterm.m (ns_menu_bar_is_hidden): New variable.
4 (ns_constrain_all_frames, ns_menu_bar_should_be_hidden)
5 (ns_update_auto_hide_menu_bar): New functions.
6 (ns_update_begin): Call ns_update_auto_hide_menu_bar.
7 (applicationDidBecomeActive): Call ns_update_auto_hide_menu_bar and
8 ns_constrain_all_frames.
9 (constrainFrameRect): Return at once if ns_menu_bar_should_be_hidden.
10 (syms_of_nsterm): DEFVAR ns-auto-hide-menu-bar, init to Qnil.
11
12011-03-27 Jan Djärv <jan.h.d@swipnet.se> 122011-03-27 Jan Djärv <jan.h.d@swipnet.se>
2 13
3 * nsmenu.m (runDialogAt): Remove argument to timer_check. 14 * nsmenu.m (runDialogAt): Remove argument to timer_check.