Commit 05f0c380 authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Call XOpenIM on the large stack.

parent 544f711c
......@@ -14,6 +14,7 @@
#include "winbase.h"
#include "callback.h"
#include "clipboard.h"
#include "debugtools.h"
#include "gdi.h"
......@@ -146,6 +147,11 @@ static void create_desktop( const char *geometry )
TSXMapWindow( display, root_window );
}
/* Created so that XOpenIM can be called using the 'large stack' */
static void XOpenIM_large_stack(void)
{
TSXOpenIM(display,NULL,NULL,NULL);
}
/***********************************************************************
* X11DRV process initialisation routine
......@@ -193,7 +199,7 @@ static void process_attach(void)
* them to work in Wine, even whith a libX11 including the dead key
* patches from Th.Quinot (http://Web.FdN.FR/~tquinot/dead-keys.en.html)
*/
TSXOpenIM(display,NULL,NULL,NULL);
CALL_LARGE_STACK( XOpenIM_large_stack, NULL );
if (Options.synchronous) XSetErrorHandler( error_handler );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment