[vlc-commits] commit: skins2: fix a refresh artefact (not frequent corner case) ( Erwan Tulou )
git at videolan.org
git at videolan.org
Thu May 20 00:44:48 CEST 2010
vlc/vlc-1.1 | branch: master | Erwan Tulou <erwan10 at videolan.org> | Tue May 18 21:02:51 2010 +0200| [2dfff9a31c79c4f14ffe591d60fe6ca84427810f] | committer: 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: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=2dfff9a31c79c4f14ffe591d60fe6ca84427810f
---
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