[vlc-devel] commit: XCB: do not set the background to black ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Apr 19 20:18:12 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 19 21:14:21 2009 +0300| [9a0c0a5427a88c8e4675beaa6cad4d9bfd197989] | committer: Rémi Denis-Courmont
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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a0c0a5427a88c8e4675beaa6cad4d9bfd197989
---
modules/video_output/xcb/x11.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index c79d12e..5065571 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,
More information about the vlc-devel
mailing list