mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
winex11: XInitThreads is hopeless, remove it again.
This commit is contained in:
parent
bddb2e671b
commit
ca34eb1612
@ -484,7 +484,6 @@ sym_not_found:
|
|||||||
static BOOL process_attach(void)
|
static BOOL process_attach(void)
|
||||||
{
|
{
|
||||||
Display *display;
|
Display *display;
|
||||||
const char *env;
|
|
||||||
|
|
||||||
setup_options();
|
setup_options();
|
||||||
|
|
||||||
@ -492,9 +491,6 @@ static BOOL process_attach(void)
|
|||||||
|
|
||||||
/* Open display */
|
/* 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;
|
if (!(display = XOpenDisplay( NULL ))) return FALSE;
|
||||||
|
|
||||||
fcntl( ConnectionNumber(display), F_SETFD, 1 ); /* set close on exec flag */
|
fcntl( ConnectionNumber(display), F_SETFD, 1 ); /* set close on exec flag */
|
||||||
|
Loading…
Reference in New Issue
Block a user