From f47b14b717c16fc82f3f33b0bc5259f446a1aafa Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 26 Jan 2015 02:21:00 +0100 Subject: video/out: cosmetics: rename VO_EVENT_ICC_PROFILE_PATH_CHANGED Remove the "PATH" bit, because VOCTRL_GET_ICC_PROFILE returns an in- memory profile, and not a path. (This was changed a while ago.) --- video/out/x11_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out/x11_common.c') diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 804c62b805..0e02069ae6 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -971,7 +971,7 @@ int vo_x11_check_events(struct vo *vo) } else if (Event.xproperty.atom == XA(x11, _NET_WM_STATE)) { x11->pending_vo_events |= VO_EVENT_WIN_STATE; } else if (Event.xproperty.atom == x11->icc_profile_property) { - x11->pending_vo_events |= VO_EVENT_ICC_PROFILE_PATH_CHANGED; + x11->pending_vo_events |= VO_EVENT_ICC_PROFILE_CHANGED; } break; default: @@ -1554,7 +1554,7 @@ static void vo_x11_update_geometry(struct vo *vo) MP_VERBOSE(x11, "Current display FPS: %f\n", fps); x11->current_display_fps = fps; // might have changed displays - x11->pending_vo_events |= VO_EVENT_WIN_STATE | VO_EVENT_ICC_PROFILE_PATH_CHANGED; + x11->pending_vo_events |= VO_EVENT_WIN_STATE | VO_EVENT_ICC_PROFILE_CHANGED; } static void vo_x11_fullscreen(struct vo *vo) -- cgit v1.2.3