vlc | branch: master | Erwan Tulou <[email protected]> | 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();
 }
 
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to