winex11: Give XInitThreads yet another chance.

oldstable
Alexandre Julliard 2012-05-05 12:13:38 +02:00
parent dec3d50290
commit 07bc017ff1
1 changed files with 1 additions and 0 deletions

View File

@ -539,6 +539,7 @@ static BOOL process_attach(void)
/* Open display */
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 */