Added XNFocusWindow attribute when creating a IC.

This commit is contained in:
Liu Spider 2003-01-30 01:07:43 +00:00 committed by Alexandre Julliard
parent 863637b158
commit bda34eaa52

View file

@ -694,6 +694,7 @@ static Window create_whole_window( Display *display, WND *win )
if (xim) data->xic = XCreateIC( xim,
XNInputStyle, XIMPreeditNothing | XIMStatusNothing,
XNClientWindow, data->whole_window,
XNFocusWindow, data->whole_window,
0 );
}