Commit 0f8706ec authored by Alexandre Julliard's avatar Alexandre Julliard

winex11.drv: Give XInitThreads another chance.

parent ab85b653
...@@ -383,6 +383,8 @@ static BOOL process_attach(void) ...@@ -383,6 +383,8 @@ 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