From 9a0c0a5427a88c8e4675beaa6cad4d9bfd197989 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 19 Apr 2009 21:14:21 +0300 Subject: [PATCH] XCB: do not set the background to black This avoids the ugly blinking while resizing. The embedding window should set the proper background in any case. --- modules/video_output/xcb/x11.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c index c79d12e51e..5065571b24 100644 --- a/modules/video_output/xcb/x11.c +++ b/modules/video_output/xcb/x11.c @@ -296,11 +296,8 @@ static int Open (vlc_object_t *obj) /* Create window */ { - const uint32_t mask = XCB_CW_BACK_PIXEL | XCB_CW_EVENT_MASK - | XCB_CW_COLORMAP; + const uint32_t mask = XCB_CW_EVENT_MASK | XCB_CW_COLORMAP; const uint32_t values[] = { - /* XCB_CW_BACK_PIXEL */ - scr->black_pixel, /* XCB_CW_EVENT_MASK */ XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE | XCB_EVENT_MASK_POINTER_MOTION, -- 2.39.2