Commit 2dfff9a3 authored by Erwan Tulou's avatar Erwan Tulou Committed by Jean-Baptiste Kempf

skins2: fix a refresh artefact (not frequent corner case)

If, for instance, video is not embedded and visible="vlc.hasVout" is used
for a video control, the video control background was not refreshed.
Yet, partial redraw (overlapping windows) could occur, leading to a visual artefact.
(cherry picked from commit a8fcb7dd6c253e8534d8582b4ef2f9ba30fae691)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1fc595a8
...@@ -154,6 +154,7 @@ void CtrlVideo::onUpdate( Subject<VarBool> &rVariable, void *arg ) ...@@ -154,6 +154,7 @@ void CtrlVideo::onUpdate( Subject<VarBool> &rVariable, void *arg )
{ {
msg_Dbg( getIntf(), "VideoCtrl : Visibility changed (visible=%d)", msg_Dbg( getIntf(), "VideoCtrl : Visibility changed (visible=%d)",
isVisible() ); isVisible() );
notifyLayout();
} }
// Active Layout changed // Active Layout changed
......
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