From 921fdef8b41457755f2fd9592ccce5660d946c08 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Mon, 7 Jun 2010 20:56:12 +0300 Subject: [PATCH] Qt4: remove PaintOnScreen option - fixes #3702 --- modules/gui/qt4/components/interface_widgets.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp index 655600be13..f96a5729cd 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 ); -- 2.11.4.GIT