diff options
| author | Jan Djärv | 2011-12-18 15:50:19 +0100 |
|---|---|---|
| committer | Jan Djärv | 2011-12-18 15:50:19 +0100 |
| commit | 5fecd5fce0bac31f1d39d84caa9d2c444c8e7e01 (patch) | |
| tree | 884906787db3c2cb7af26ca28e9e25f3f0e5a58a /src/ChangeLog | |
| parent | c803b2b767f8ed06beb28106a03f23bc577cfdae (diff) | |
| download | emacs-5fecd5fce0bac31f1d39d84caa9d2c444c8e7e01.tar.gz emacs-5fecd5fce0bac31f1d39d84caa9d2c444c8e7e01.zip | |
Adapt code from AquaEmacs to handle occasional blank menus.
* nsmenu.m (trackingMenu): New variable.
(NSMenuDidBeginTrackingNotification): Declare if OSX < 10.5 and
NS_IMPL_COCOA.
(trackingNotification): New method (from AquaEmacs).
(menuNeedsUpdate): Expand comment and return if trackingMenu is 0,
from AquaEmacs.
(syms_of_nsmenu): Set trackingMenu to 1 if not NS_IMPL_COCOA.
* nsterm.m (ns_term_init): Subscribe for notifications
NSMenuDidBeginTrackingNotification and NSMenuDidEndTrackingNotification
to method trackingNotification in EmacsMenu.
Fixes: debbugs:7030
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 610079fe321..14eb35bdc1c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,17 @@ | |||
| 1 | 2011-12-18 Jan Djärv <jan.h.d@swipnet.se> | 1 | 2011-12-18 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 2 | ||
| 3 | * nsterm.m (ns_term_init): Subscribe for notifications | ||
| 4 | NSMenuDidBeginTrackingNotification and NSMenuDidEndTrackingNotification | ||
| 5 | to method trackingNotification in EmacsMenu. | ||
| 6 | |||
| 7 | * nsmenu.m (trackingMenu): New variable. | ||
| 8 | (NSMenuDidBeginTrackingNotification): Declare if OSX < 10.5 and | ||
| 9 | NS_IMPL_COCOA. | ||
| 10 | (trackingNotification): New method (from AquaEmacs). | ||
| 11 | (menuNeedsUpdate): Expand comment and return if trackingMenu is 0, | ||
| 12 | from AquaEmacs (Bug#7030). | ||
| 13 | (syms_of_nsmenu): Set trackingMenu to 1 if not NS_IMPL_COCOA. | ||
| 14 | |||
| 3 | * nsselect.m (CUT_BUFFER_SUPPORT): Remove define. | 15 | * nsselect.m (CUT_BUFFER_SUPPORT): Remove define. |
| 4 | (symbol_to_nsstring): Fix indentation. | 16 | (symbol_to_nsstring): Fix indentation. |
| 5 | (ns_symbol_to_pb): New function. | 17 | (ns_symbol_to_pb): New function. |