summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/macos.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/macos.m b/src/ui/macos.m
index 2cb43eae..0e4927ee 100644
--- a/src/ui/macos.m
+++ b/src/ui/macos.m
@@ -150,8 +150,8 @@ static void appearanceChanged_MacOS_(NSString *name) {
150 const iBool isDark = [name containsString:@"Dark"]; 150 const iBool isDark = [name containsString:@"Dark"];
151 const iBool isHighContrast = [name containsString:@"HighContrast"]; 151 const iBool isHighContrast = [name containsString:@"HighContrast"];
152 postCommandf_App("os.theme.changed dark:%d contrast:%d", isDark ? 1 : 0, isHighContrast ? 1 : 0); 152 postCommandf_App("os.theme.changed dark:%d contrast:%d", isDark ? 1 : 0, isHighContrast ? 1 : 0);
153 printf("Effective appearance changed: %s\n", [name cStringUsingEncoding:NSUTF8StringEncoding]); 153// printf("Effective appearance changed: %s\n", [name cStringUsingEncoding:NSUTF8StringEncoding]);
154 fflush(stdout); 154// fflush(stdout);
155} 155}
156 156
157- (void)setAppearance:(NSString *)name { 157- (void)setAppearance:(NSString *)name {