]> git.sesse.net Git - vlc/commitdiff
skins2: fix a refresh artefact (not frequent corner case)
authorErwan Tulou <erwan10@videolan.org>
Tue, 18 May 2010 19:02:51 +0000 (21:02 +0200)
committerErwan Tulou <erwan10@videolan.org>
Tue, 18 May 2010 20:08:57 +0000 (22:08 +0200)
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.

modules/gui/skins2/controls/ctrl_video.cpp

index dc2e3192b803cf3cf355cef6ea15aa8e4d1128a4..823cac46894955bf62fc484cef9de64c9bad1d90 100644 (file)
@@ -154,6 +154,7 @@ void CtrlVideo::onUpdate( Subject<VarBool> &rVariable, void *arg  )
     {
         msg_Dbg( getIntf(), "VideoCtrl : Visibility changed (visible=%d)",
                                   isVisible() );
+        notifyLayout();
     }
 
     // Active Layout changed