[vlc-commits] skins2: set opacity before showing the window

Erwan Tulou git at videolan.org
Thu Feb 8 00:39:37 CET 2018


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Tue Feb  6 11:30:55 2018 +0100| [6dcee51e0f33a8ea339ec6bc28071d3a91b72e87] | committer: Erwan Tulou

skins2: set opacity before showing the window

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

 modules/gui/skins2/src/window_manager.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/skins2/src/window_manager.cpp b/modules/gui/skins2/src/window_manager.cpp
index c5d2f5d90c..628aa51399 100644
--- a/modules/gui/skins2/src/window_manager.cpp
+++ b/modules/gui/skins2/src/window_manager.cpp
@@ -438,10 +438,10 @@ void WindowManager::showAll( bool firstTime ) const
 
 void WindowManager::show( TopWindow &rWindow ) const
 {
-    rWindow.show();
-
     if( isOpacityNeeded() )
         rWindow.setOpacity( m_alpha );
+
+    rWindow.show();
 }
 
 



More information about the vlc-commits mailing list