winex11: Give XInitThreads yet another chance.
This commit is contained in:
parent
dec3d50290
commit
07bc017ff1
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue