[vlc-commits] commit: skins2: fix a refresh artefact (not frequent corner case) ( Erwan Tulou )

git at videolan.org git at videolan.org
Tue May 18 22:11:03 CEST 2010


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Tue May 18 21:02:51 2010 +0200| [a8fcb7dd6c253e8534d8582b4ef2f9ba30fae691] | committer: Erwan Tulou 

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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a8fcb7dd6c253e8534d8582b4ef2f9ba30fae691
---

 modules/gui/skins2/controls/ctrl_video.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/skins2/controls/ctrl_video.cpp b/modules/gui/skins2/controls/ctrl_video.cpp
index dc2e319..823cac4 100644
--- a/modules/gui/skins2/controls/ctrl_video.cpp
+++ b/modules/gui/skins2/controls/ctrl_video.cpp
@@ -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



More information about the vlc-commits mailing list