Alexandre Julliard : winex11: Give XInitThreads yet another chance.
Alexandre Julliard
julliard at winehq.org
Mon May 7 14:29:26 CDT 2012
Module: wine
Branch: master
Commit: 07bc017ff13c43bc897de730715e8b07139268ec
URL: http://source.winehq.org/git/wine.git/?a=commit;h=07bc017ff13c43bc897de730715e8b07139268ec
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat May 5 12:13:38 2012 +0200
winex11: Give XInitThreads yet another chance.
---
dlls/winex11.drv/x11drv_main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c
index 9e791e5..88e2114 100644
--- a/dlls/winex11.drv/x11drv_main.c
+++ b/dlls/winex11.drv/x11drv_main.c
@@ -539,6 +539,7 @@ 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 */
More information about the wine-cvs
mailing list