vlc | branch: master | Steve Lhomme <[email protected]> | Thu Apr  4 11:23:42 
2019 +0200| [08f886b6e88f46ebeb1cfb2bc838c6fec8c81dfc] | committer: Steve Lhomme

qt: track the mouse movement on Windows as well

So the display modules don't have to handle the mouse hiding anymore.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=08f886b6e88f46ebeb1cfb2bc838c6fec8c81dfc
---

 modules/gui/qt/components/interface_widgets.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/components/interface_widgets.cpp 
b/modules/gui/qt/components/interface_widgets.cpp
index 1002f6e237..4a01118fed 100644
--- a/modules/gui/qt/components/interface_widgets.cpp
+++ b/modules/gui/qt/components/interface_widgets.cpp
@@ -135,7 +135,7 @@ void VideoWidget::request( struct vout_window_t *p_wnd )
        management */
     /* This is currently disabled on X11 as it does not seem to improve
      * performance, but causes the video widget to be transparent... */
-#if !defined (QT5_HAS_X11)
+#if !defined (QT5_HAS_X11) && !defined(_WIN32)
     stable->setAttribute( Qt::WA_PaintOnScreen, true );
 #else
     stable->setMouseTracking( true );

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to