winex11: XInitThreads is hopeless, remove it again.

This commit is contained in:
Alexandre Julliard 2008-05-28 20:56:19 +02:00
parent bddb2e671b
commit ca34eb1612

View File

@ -484,7 +484,6 @@ sym_not_found:
static BOOL process_attach(void)
{
Display *display;
const char *env;
setup_options();
@ -492,9 +491,6 @@ static BOOL process_attach(void)
/* Open display */
if (!(env = getenv("XMODIFIERS")) || !*env) /* try to avoid the Xlib XIM locking bug */
if (!XInitThreads()) ERR( "XInitThreads failed, trouble ahead\n" );
if (!(display = XOpenDisplay( NULL ))) return FALSE;
fcntl( ConnectionNumber(display), F_SETFD, 1 ); /* set close on exec flag */