[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:56:30 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun  7 20:56:12 2010 +0300| [921fdef8b41457755f2fd9592ccce5660d946c08] | committer: Rémi Denis-Courmont 

Qt4: remove PaintOnScreen option - fixes #3702

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

 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 655600b..f96a572 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