[vlc-devel] [PATCH] Fix for Boss key not working properly on full screen mode in linux

nicolas.legoueix77 at gmail.com nicolas.legoueix77 at gmail.com
Mon Apr 20 18:47:35 CEST 2020


From: Nicolas Legoueix and Yann Queric <nicolas.legoueix77 at gmail.com>

---
 modules/gui/qt/main_interface.cpp | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index 259dcf7109..2968210bd4 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -1707,14 +1707,10 @@ void MainInterface::emitBoss()
 void MainInterface::setBoss()
 {
     THEMIM->pause();
-    if( sysTray )
-    {
+
+    showMinimized();
+    if(sysTray)
         hide();
-    }
-    else
-    {
-        showMinimized();
-    }
 }
 
 void MainInterface::emitRaise()
-- 
2.20.1



More information about the vlc-devel mailing list