Module: wine Branch: master Commit: 07bc017ff13c43bc897de730715e8b07139268ec URL: http://source.winehq.org/git/wine.git/?a=commit;h=07bc017ff13c43bc897de73071...
Author: Alexandre Julliard julliard@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 */