Skip to content
Snippets Groups Projects
Commit 58aaf06c authored by Jeffrey Knockel's avatar Jeffrey Knockel Committed by Hugo Beauzée-Luyssen
Browse files

xcb/x11: set northwest bit gravity on output window

This fixes black flickering on resize.

Fixes #25716 for xcb/x11 output.
parent 8737dcd1
No related branches found
No related tags found
No related merge requests found
......@@ -307,6 +307,7 @@ static int Open (vout_display_t *vd,
const uint32_t mask =
XCB_CW_BACK_PIXEL |
XCB_CW_BORDER_PIXEL |
XCB_CW_BIT_GRAVITY |
XCB_CW_EVENT_MASK |
XCB_CW_COLORMAP;
const uint32_t values[] = {
......@@ -314,6 +315,8 @@ static int Open (vout_display_t *vd,
scr->black_pixel,
/* XCB_CW_BORDER_PIXEL */
scr->black_pixel,
/* XCB_CW_BIT_GRAVITY */
XCB_GRAVITY_NORTH_WEST,
/* XCB_CW_EVENT_MASK */
0,
/* XCB_CW_COLORMAP */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment