Skip to content
Snippets Groups Projects
Commit 05f0c380 authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard
Browse files

Call XOpenIM on the large stack.

parent 544f711c
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment