From 9db50c6760758089a013983f0fbf93ebde53dbc7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 6 Dec 2015 18:39:09 +0100 Subject: 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. --- video/out/x11_common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/out/x11_common.h') 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; -- cgit v1.2.3