Skip to content

[3.0] vout: set northwest bit gravity on X11 windows

Jeffrey Knockel requested to merge jeffk/vlc:3.0.x into 3.0.x

This is largely a backport of !1534 (merged) and addresses #25716 (closed) for 3.x.

The changes to glx, egl, and xcb/x11 are the same as in 4.x.

The XVideo output isn't in 4.x, but the modification to xcb/xvideo here is small and follows the modification to xcb/x11.

Additionally, to eliminate flicker in the 3.x QT UI, we remove a call to XClearWindow() after XResizeWindow(). This change is needed to eliminate flicker in outputs which do not create their own windows (like glx or egl, but unlike xcb/x11 or xcb/xvideo). I believe that this call to XClearWindow() is extraneous, since the window is already being cleared server-side by X on resize (its background pixel is set to black).

Merge request reports