From 8dff03560adcc463ec6a74de78a3a503c7fcb084 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 1 Jul 2015 23:46:34 +0200 Subject: x11: remove clear on map Less code, and avoids a black flash on start. In theory it could happen that we map the window, and then don't have a frame to draw - but mapping the window is done in the exact moment we have a new frame to display. --- video/out/x11_common.h | 1 - 1 file changed, 1 deletion(-) (limited to 'video/out/x11_common.h') diff --git a/video/out/x11_common.h b/video/out/x11_common.h index c8ed22b248..6dfcbf52f7 100644 --- a/video/out/x11_common.h +++ b/video/out/x11_common.h @@ -129,7 +129,6 @@ bool vo_x11_screen_is_composited(struct vo *vo); 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); int vo_x11_control(struct vo *vo, int *events, int request, void *arg); #endif /* MPLAYER_X11_COMMON_H */ -- cgit v1.2.3