mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
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 */
|
||||
|
||||
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
Block a user