From ca34eb1612382819e978f3efe5b01374c2a1d0ed Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 28 May 2008 20:56:19 +0200 Subject: [PATCH] winex11: XInitThreads is hopeless, remove it again. --- dlls/winex11.drv/x11drv_main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c index 3287fea3ead..4ca1bb64d22 100644 --- a/dlls/winex11.drv/x11drv_main.c +++ b/dlls/winex11.drv/x11drv_main.c @@ -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 */