winex11.drv: Give XInitThreads another chance.
This commit is contained in:
parent
ab85b653f5
commit
0f8706ec33
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue