]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/interface_widgets.cpp
Qt4: remove PaintOnScreen option - fixes #3702
[vlc] / modules / gui / qt4 / components / interface_widgets.cpp
index 655600be136d0ccdd5cc5a5f3e5b75a1f53547fc..f96a5729cd1783ce9a3136c4986daefb285df16b 100644 (file)
@@ -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 );