Commit 07bc017f authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Give XInitThreads yet another chance.

parent dec3d502
...@@ -539,6 +539,7 @@ static BOOL process_attach(void) ...@@ -539,6 +539,7 @@ static BOOL process_attach(void)
/* Open display */ /* Open display */
if (!XInitThreads()) ERR( "XInitThreads failed, trouble ahead\n" );
if (!(display = XOpenDisplay( NULL ))) return FALSE; if (!(display = XOpenDisplay( NULL ))) return FALSE;
fcntl( ConnectionNumber(display), F_SETFD, 1 ); /* set close on exec flag */ fcntl( ConnectionNumber(display), F_SETFD, 1 ); /* set close on exec flag */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment