Skip to content

Commit 90f8699

Browse files
committed
Font Preferences: send notification to WM on antialiasing setting change.
1 parent ad3ae59 commit 90f8699

File tree

1 file changed

+5
-1
lines changed
  • Applications/Preferences/Modules/Font

1 file changed

+5
-1
lines changed

Applications/Preferences/Modules/Font/Font.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,11 @@ - (IBAction)enableAntiAliasingChanged:(id)sender
403403
[self setWMFont:font forKey:@"MenuTextFont"];
404404
[self setWMFont:[NSFont fontWithName:fontName size:fontSize - 3.0] forKey:@"IconTitleFont"];
405405
[self setWMFont:[NSFont fontWithName:fontName size:fontSize * 2.0] forKey:@"LargeDisplayFont"];
406-
406+
407+
[[NSDistributedNotificationCenter defaultCenter]
408+
postNotificationName:WMDidChangeAppearanceSettingsNotification
409+
object:@"GSWorkspaceNotification"];
410+
407411
[self updateUI];
408412
}
409413

0 commit comments

Comments
 (0)