summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.m
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa_common.m')
-rw-r--r--video/out/cocoa_common.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index 47f686dbd4..e89504c472 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -419,7 +419,7 @@ static void cocoa_add_fs_screen_profile_observer(struct vo *vo)
return;
void (^nblock)(NSNotification *n) = ^(NSNotification *n) {
- s->pending_events |= VO_EVENT_ICC_PROFILE_PATH_CHANGED;
+ s->pending_events |= VO_EVENT_ICC_PROFILE_CHANGED;
};
s->fs_icc_changed_ns_observer = [[NSNotificationCenter defaultCenter]
@@ -586,7 +586,7 @@ static void vo_cocoa_fullscreen(struct vo *vo)
draw_changes_after_next_frame(vo);
[(MpvEventsView *)s->view setFullScreen:opts->fullscreen];
- s->pending_events |= VO_EVENT_ICC_PROFILE_PATH_CHANGED;
+ s->pending_events |= VO_EVENT_ICC_PROFILE_CHANGED;
s->pending_events |= VO_EVENT_RESIZE;
}
@@ -736,6 +736,6 @@ int vo_cocoa_control(struct vo *vo, int *events, int request, void *arg)
- (void)didChangeWindowedScreenProfile:(NSScreen *)screen
{
struct vo_cocoa_state *s = self.vout->cocoa;
- s->pending_events |= VO_EVENT_ICC_PROFILE_PATH_CHANGED;
+ s->pending_events |= VO_EVENT_ICC_PROFILE_CHANGED;
}
@end