[vlc-commits] commit: Qt4: remove PaintOnScreen option - fixes #3702 ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Mon Jun 7 19:58:36 CEST 2010
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 7 20:56:12 2010 +0300| [286673dc5b8b87418a2ba714e704d33fc01f70c3] | committer: Rémi Denis-Courmont
Qt4: remove PaintOnScreen option - fixes #3702
(cherry picked from commit 921fdef8b41457755f2fd9592ccce5660d946c08)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=286673dc5b8b87418a2ba714e704d33fc01f70c3
---
modules/gui/qt4/components/interface_widgets.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 0566c16..5d464c3 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -141,7 +141,11 @@ WId VideoWidget::request( int *pi_x, int *pi_y,
/* Indicates that the widget wants to draw directly onto the screen.
Widgets with this attribute set do not participate in composition
management */
+ /* This is currently disabled on X11 as it does not seem to improve
+ * performance, but causes the video widget to be transparent... */
+#ifndef Q_WS_X11
stable->setAttribute( Qt::WA_PaintOnScreen, true );
+#endif
innerLayout->addWidget( stable );
More information about the vlc-commits
mailing list