Alexandre Julliard : winex11: XInitThreads is hopeless, remove it again.
Alexandre Julliard
julliard at winehq.org
Wed May 28 14:46:08 CDT 2008
Module: wine
Branch: master
Commit: ca34eb1612382819e978f3efe5b01374c2a1d0ed
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ca34eb1612382819e978f3efe5b01374c2a1d0ed
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed May 28 20:56:19 2008 +0200
winex11: XInitThreads is hopeless, remove it again.
---
dlls/winex11.drv/x11drv_main.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c
index 3287fea..4ca1bb6 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 */
More information about the wine-cvs
mailing list