]> git.sesse.net Git - vlc/commit
Call XInitThreads early enough
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 1 Mar 2009 11:41:46 +0000 (13:41 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 1 Mar 2009 11:41:46 +0000 (13:41 +0200)
commit364868f96ff0d745905fec4b9df35942fd8c0d7b
tree9bb17735bd510d539396d968d32b6306034a4300
parent6b3c6c448de3baefcc799d75cc7d8d70112c5186
Call XInitThreads early enough

We need to call XInitThreads before anyone tries XOpenDisplay or
something, and XInitThreads itself is not re-entrant, so call it before
we start LibVLC. This only "fixes" Xlib with VLC. Other LibVLC users
need to do something similar themselves. LibVLC cannot do it. Other
application may have already connected to X before it starts LibVLC.
bin/vlc.c
configure.ac