mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:48:20 +00:00
Call XOpenIM on the large stack.
This commit is contained in:
parent
544f711c0c
commit
05f0c38043
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue