From acf319b3edea4d8dd0fe338778e08e0d99dc49bb Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 20 Apr 2008 07:36:34 +0300 Subject: Create a struct for X11 state Will be used for common data between X11 VOs. The main reasons for making it a separate struct rather than extra fields in the main VO struct are that some field definitions need X headers and that the code keeps basic X state such as the display connection over opening and closing of individual VOs. --- mp_core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mp_core.h') diff --git a/mp_core.h b/mp_core.h index c40c948114..df9d3098e7 100644 --- a/mp_core.h +++ b/mp_core.h @@ -44,6 +44,7 @@ typedef struct MPContext { struct MPOpts opts; + struct vo_x11_state *x11_state; int osd_show_percentage; int osd_function; const ao_functions_t *audio_out; -- cgit v1.2.3