[vlc-commits] qt: fix frameless window for Win7 compositor
Pierre Lamot
git at videolan.org
Mon Dec 7 12:31:59 UTC 2020
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Tue Oct 20 17:39:42 2020 +0200| [019ee62de2540e5279f94366ca10f021e624f592] | committer: Pierre Lamot
qt: fix frameless window for Win7 compositor
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=019ee62de2540e5279f94366ca10f021e624f592
---
modules/gui/qt/maininterface/compositor_win7.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt/maininterface/compositor_win7.cpp b/modules/gui/qt/maininterface/compositor_win7.cpp
index 7a262ad60e..8f8444e025 100644
--- a/modules/gui/qt/maininterface/compositor_win7.cpp
+++ b/modules/gui/qt/maininterface/compositor_win7.cpp
@@ -182,6 +182,8 @@ MainInterface* CompositorWin7::makeMainInterface()
m_qmlView->setColor(QColor(Qt::transparent));
m_qmlView->setGeometry(m_rootWindow->geometry());
m_qmlView->setMinimumSize( m_rootWindow->minimumSize() );
+ if (m_rootWindow->useClientSideDecoration())
+ m_qmlView->setFlag(Qt::FramelessWindowHint);
m_qmlView->installEventFilter(this);
Win7NativeEventFilter* m_nativeEventFilter = new Win7NativeEventFilter(this);
More information about the vlc-commits
mailing list