Call XOpenIM on the large stack.

This commit is contained in:
Lionel Ulmer 2000-05-03 18:10:47 +00:00 committed by Alexandre Julliard
parent 544f711c0c
commit 05f0c38043

View file

@ -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 );