diff options
author | wm4 <wm4@nowhere> | 2014-05-06 20:24:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-06 20:24:35 +0200 |
commit | 5eaefaa98a857f29a8ed868f8f3af03f8d71a8b6 (patch) | |
tree | 8ac814c575e0ed7ee69bcd0c1f366cbbf4ad205e /video/out/x11_common.h | |
parent | feb1f8f18fc2bf1de81ea43d7b57e318c1bf4e69 (diff) | |
download | mpv-5eaefaa98a857f29a8ed868f8f3af03f8d71a8b6.tar.bz2 mpv-5eaefaa98a857f29a8ed868f8f3af03f8d71a8b6.tar.xz |
x11: don't use VOCTRL_UPDATE_SCREENINFO
See previous commit.
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r-- | video/out/x11_common.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 <X11/Xlib.h> #include <X11/Xutil.h> +#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); |