Commit ca34eb16 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: XInitThreads is hopeless, remove it again.

parent bddb2e67
......@@ -484,7 +484,6 @@ sym_not_found:
static BOOL process_attach(void)
{
Display *display;
const char *env;
setup_options();
......@@ -492,9 +491,6 @@ static BOOL process_attach(void)
/* Open display */
if (!(env = getenv("XMODIFIERS")) || !*env) /* try to avoid the Xlib XIM locking bug */
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 */
......
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