http://bugs.winehq.org/show_bug.cgi?id=5309
------- Additional Comments From ncliang@gmail.com 2007-15-06 20:45 ------- Some googling around turned up a couple pages like this one: http://www.ac3.edu.au/SGI_Developer/books/XLib_PG/sgi_html/ch11.html that says XNFontSet is required when creating an input context.
But the Xlib programming manual: http://tucupi.cptec.inpe.br/sx4/sx4man2/g1ae02e/chap13.html states that if XNFontSet is unspecified, the default is determined by the input method.
I experimented a bit and tried calling XCreateIC without the XNFontSet variable and it did not seem to make a difference on my system. Maybe it is ok to just remove the call entirely?