[vlc-commits] qt: fix X11 ifdef
Rémi Denis-Courmont
git at videolan.org
Tue Nov 29 20:08:08 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 29 21:07:31 2016 +0200| [64c997cb83c346d7c65876ef7a12da7165b97041] | committer: Rémi Denis-Courmont
qt: fix X11 ifdef
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=64c997cb83c346d7c65876ef7a12da7165b97041
---
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 0441687..dfd016a 100644
--- a/modules/gui/qt/components/interface_widgets.cpp
+++ b/modules/gui/qt/components/interface_widgets.cpp
@@ -130,7 +130,7 @@ WId VideoWidget::request( struct vout_window_t *p_wnd, unsigned int *pi_width,
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 (Q_WS_X11) && !defined (Q_WS_QPA)
+#if !defined (QT5_HAS_X11) && !defined (Q_WS_X11) && !defined (Q_WS_QPA)
stable->setAttribute( Qt::WA_PaintOnScreen, true );
#endif
More information about the vlc-commits
mailing list