From 5eaefaa98a857f29a8ed868f8f3af03f8d71a8b6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 6 May 2014 20:24:35 +0200 Subject: x11: don't use VOCTRL_UPDATE_SCREENINFO See previous commit. --- video/out/x11_common.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'video/out/x11_common.h') diff --git a/video/out/x11_common.h b/video/out/x11_common.h index 23ece3f9c3..5fb413e3a1 100644 --- a/video/out/x11_common.h +++ b/video/out/x11_common.h @@ -24,8 +24,9 @@ #include #include +#include "common/common.h" + struct vo; -struct mp_rect; struct mp_log; struct vo_x11_state { @@ -37,6 +38,7 @@ struct vo_x11_state { int display_is_local; int ws_width; int ws_height; + struct mp_rect screenrc; int screensaver_off; int dpms_disabled; @@ -147,8 +149,7 @@ void vo_x11_uninit(struct vo *vo); int vo_x11_check_events(struct vo *vo); bool vo_x11_screen_is_composited(struct vo *vo); void fstype_help(struct mp_log *log); -void vo_x11_config_vo_window(struct vo *vo, XVisualInfo *vis, - unsigned int width, unsigned int height, int flags, +void vo_x11_config_vo_window(struct vo *vo, XVisualInfo *vis, int flags, const char *classname); void vo_x11_clear_background(struct vo *vo, const struct mp_rect *rc); void vo_x11_clearwindow(struct vo *vo, Window vo_window); -- cgit v1.2.3