mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-30 19:53:09 +00:00
Reinstate removed code.
* nsterm.m (applicationDidFinishLaunching antialiasThresholdDidChange): Reinstate code removed by the prevoius commit to this file.
This commit is contained in:
parent
3477e27021
commit
96fa02baec
@ -1,3 +1,8 @@
|
||||
2014-07-27 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* nsterm.m (applicationDidFinishLaunching antialiasThresholdDidChange):
|
||||
Reinstate code removed by the prevoius commit to this file.
|
||||
|
||||
2014-07-27 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* buffer.h (struct buffer): New fields scroll_bar_height and
|
||||
|
21
src/nsterm.m
21
src/nsterm.m
@ -4687,9 +4687,30 @@ - (void)applicationDidFinishLaunching: (NSNotification *)notification
|
||||
((EmacsApp *)self)->applicationDidFinishLaunchingCalled = YES;
|
||||
#endif
|
||||
[NSApp setServicesProvider: NSApp];
|
||||
|
||||
[self antialiasThresholdDidChange:nil];
|
||||
#ifdef NS_IMPL_COCOA
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
addObserver:self
|
||||
selector:@selector(antialiasThresholdDidChange:)
|
||||
name:NSAntialiasThresholdChangedNotification
|
||||
object:nil];
|
||||
#endif
|
||||
#endif
|
||||
|
||||
ns_send_appdefined (-2);
|
||||
}
|
||||
|
||||
- (void)antialiasThresholdDidChange:(NSNotification *)notification
|
||||
{
|
||||
#ifdef NS_IMPL_COCOA
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
|
||||
macfont_update_antialias_threshold ();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/* Termination sequences:
|
||||
C-x C-c:
|
||||
|
Loading…
Reference in New Issue
Block a user