summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-06 18:39:09 +0100
committerwm4 <wm4@nowhere>2015-12-06 18:41:31 +0100
commit9db50c6760758089a013983f0fbf93ebde53dbc7 (patch)
treeb37322cdb821fdfea5e3efe190fd25b593cfdbd1 /video/out/x11_common.h
parent970606e49198594c243edf4a85c426693676f6a3 (diff)
downloadmpv-9db50c6760758089a013983f0fbf93ebde53dbc7.tar.bz2
mpv-9db50c6760758089a013983f0fbf93ebde53dbc7.tar.xz
vo: get rid of vo_get_window_title()
It always was a weird artifact - VOCTRLs are meant _not_ to require special handling in the code that passes them through (like in vo.c). Removing it is also interesting to further reduce the dependency of backends on struct vo. Just get rid of it. Removing it is somewhat inconvenient, because in many situations the UI window is created after the first VOCTRL_UPDATE_WINDOW_TITLE. This means these backends have to store it in a new field in their own context.
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r--video/out/x11_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h
index 7707c0a707..4b122e8535 100644
--- a/video/out/x11_common.h
+++ b/video/out/x11_common.h
@@ -52,6 +52,7 @@ struct vo_x11_state {
int ws_width;
int ws_height;
struct mp_rect screenrc;
+ char *window_title;
struct xrandr_display displays[MAX_DISPLAYS];
int num_displays;