[vlc-commits] commit: Revert "Remove the Xlib no-ARGB hack" ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sun May 2 22:00:15 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May  2 22:59:54 2010 +0300| [0f7abe2f0e024c3303c458c1875a6cbe0e7e198c] | committer: Rémi Denis-Courmont 

Revert "Remove the Xlib no-ARGB hack"

This reverts commit 9f9f6d1153bb1954bed4ab7146a6a801dfe36fb0.

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

 bin/vlc.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/bin/vlc.c b/bin/vlc.c
index 68cbfa0..e141b4b 100644
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -70,6 +70,10 @@ int main( int i_argc, const char *ppsz_argv[] )
     /* Disable the ugly Gnome crash dialog so that we properly segfault */
     putenv( (char *)"GNOME_DISABLE_CRASH_DIALOG=1" );
 # endif
+
+    /* Make Xlib hide visuals with an alphachannel. Ensure that Qt4 will not
+     * use the alpha channel for the embedded video window. */
+    putenv( (char *)"XLIB_SKIP_ARGB_VISUALS=1" );
 #endif
 #ifdef HAVE_SETENV
     /* Clear the X.Org startup notification ID. Otherwise the UI might try to



More information about the vlc-commits mailing list