From e6d7d5ab2c40d92b2bd1dab8ca52a6731f08a638 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 4 Dec 2003 21:59:51 +0000 Subject: [PATCH] Initialize Xlib threading support to see what it breaks... --- dlls/x11drv/x11drv_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/x11drv/x11drv_main.c b/dlls/x11drv/x11drv_main.c index 38298479cd..43ce876ec8 100644 --- a/dlls/x11drv/x11drv_main.c +++ b/dlls/x11drv/x11drv_main.c @@ -340,6 +340,8 @@ static void process_attach(void) /* Open display */ + if (!XInitThreads()) ERR( "XInitThreads failed, trouble ahead\n" ); + if (!(display = XOpenDisplay( NULL ))) { MESSAGE( "x11drv: Can't open display: %s\n", XDisplayName(NULL) ); -- 2.32.0.93.g670b81a890