[vlc-devel] [PATCH v2] hotkeys: boss-key
Vikalp Bhandari
97vikalp at gmail.com
Wed Feb 13 12:36:39 CET 2019
Add code to toggle off fullscreen before performing minimize to tray, to prevent boss-key bug. This is more of a workaround, but tests ok on ubuntu 18.04.
---
modules/gui/qt/main_interface.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index b243b789f2..c34a112d1a 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -1740,6 +1740,8 @@ void MainInterface::emitBoss()
void MainInterface::setBoss()
{
THEMIM->pause();
+ if(b_videoFullScreen)
+ setWindowState( windowState() & ~Qt::WindowFullScreen );
if( sysTray )
{
hide();
--
2.17.1
More information about the vlc-devel
mailing list