[vlc-devel] [PATCH] qt: fix timetooltip appears outside the window on wayland

Pierre Lamot pierre at videolabs.io
Wed Dec 13 18:06:26 CET 2017


---
 modules/gui/qt/util/timetooltip.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/gui/qt/util/timetooltip.cpp b/modules/gui/qt/util/timetooltip.cpp
index 23d47b2528..f970cadbfa 100644
--- a/modules/gui/qt/util/timetooltip.cpp
+++ b/modules/gui/qt/util/timetooltip.cpp
@@ -33,9 +33,7 @@
 TimeTooltip::TimeTooltip( QWidget *parent ) :
     QWidget( parent )
 {
-    setWindowFlags( Qt::Tool                    |
-                    Qt::WindowStaysOnTopHint    |
-                    Qt::FramelessWindowHint     );
+    setWindowFlags( Qt::Tool | Qt::BypassGraphicsProxyWidget );
 
     // Tell Qt that it doesn't need to erase the background before
     // a paintEvent occurs. This should save some CPU cycles.
-- 
2.14.1



More information about the vlc-devel mailing list