diff options
author | wm4 <wm4@nowhere> | 2015-01-26 02:21:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-26 02:21:00 +0100 |
commit | f47b14b717c16fc82f3f33b0bc5259f446a1aafa (patch) | |
tree | 317b28f374fdc4341a4f878f4930137daf3f379c /video/out/x11_common.c | |
parent | df3e6b549c568e4b9d7981c9e4eedba9689c2e05 (diff) | |
download | mpv-f47b14b717c16fc82f3f33b0bc5259f446a1aafa.tar.bz2 mpv-f47b14b717c16fc82f3f33b0bc5259f446a1aafa.tar.xz |
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.)
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r-- | video/out/x11_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |