Commit 9a0c0a54 authored by Rémi Denis-Courmont's avatar 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.
parent 5045d3df
...@@ -296,11 +296,8 @@ static int Open (vlc_object_t *obj) ...@@ -296,11 +296,8 @@ static int Open (vlc_object_t *obj)
/* Create window */ /* Create window */
{ {
const uint32_t mask = XCB_CW_BACK_PIXEL | XCB_CW_EVENT_MASK const uint32_t mask = XCB_CW_EVENT_MASK | XCB_CW_COLORMAP;
| XCB_CW_COLORMAP;
const uint32_t values[] = { const uint32_t values[] = {
/* XCB_CW_BACK_PIXEL */
scr->black_pixel,
/* XCB_CW_EVENT_MASK */ /* XCB_CW_EVENT_MASK */
XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE | XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE |
XCB_EVENT_MASK_POINTER_MOTION, XCB_EVENT_MASK_POINTER_MOTION,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment