diff options
author | wm4 <wm4@nowhere> | 2013-06-15 19:04:20 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-15 19:07:21 +0200 |
commit | 168a595bfeb97be89da314dcc652b7c4782e43e5 (patch) | |
tree | c5e88c9eec004a8a5cd66a68ad4b1cdd1382b97a /video/out/vo.h | |
parent | 70f97efa720ee2366cb6c1eeefb211c11fd88a63 (diff) | |
download | mpv-168a595bfeb97be89da314dcc652b7c4782e43e5.tar.bz2 mpv-168a595bfeb97be89da314dcc652b7c4782e43e5.tar.xz |
video/out: introduce VOCTRL_UPDATE_WINDOW_TITLE
Instead of implicitly changing the window title on config(), do it as
part of the new VOCTRL.
At first I wanted to make all VOs use the VOCTRL argument directly, but
on a second thought it appears vo_get_window_title() is much more useful
for some (namely, if the window is created lazily on first config()).
Not all VOs are changed. Wayland and OSX have to follow.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index 2ac993923d..df16a01d0e 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -60,6 +60,7 @@ enum mp_voctrl { VOCTRL_ONTOP, VOCTRL_BORDER, + VOCTRL_UPDATE_WINDOW_TITLE, // char* VOCTRL_SET_CURSOR_VISIBILITY, // bool |