[vlc-commits] qt: Reset FSC fade out when mouse is moved

Hugo Beauzée-Luyssen git at videolan.org
Tue Mar 27 12:08:55 CEST 2018


vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Mar 26 13:45:06 2018 +0200| [544ab984909f512d738be55d38329800fa5acc89] | committer: Hugo Beauzée-Luyssen

qt: Reset FSC fade out when mouse is moved

(cherry picked from commit 7dd217642349251804c5a0a85c3eb82f13cafea5)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 modules/gui/qt/components/controller.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/components/controller.cpp b/modules/gui/qt/components/controller.cpp
index bd71e96051..07fbf0e28f 100644
--- a/modules/gui/qt/components/controller.cpp
+++ b/modules/gui/qt/components/controller.cpp
@@ -1046,7 +1046,11 @@ void FullscreenControllerWidget::customEvent( QEvent *event )
             b_fs = b_fullscreen;
             vlc_mutex_unlock( &lock );
 
-            if( b_fs && isHidden() )
+            if( b_fs && ( isHidden()
+#if HAVE_TRANSPARENCY
+                 || p_slowHideTimer->isActive()
+#endif
+                    ) )
                 showFSC();
 
             break;



More information about the vlc-commits mailing list