winex11.drv: Prevent XCreateIC from returning NULL when input style isn't "root". (try 3)
Alexandre Julliard
julliard at winehq.org
Wed Oct 15 09:59:13 CDT 2008
"Muneyuki Noguchi" <nogu.dev at gmail.com> writes:
> diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h
> index e5a40aa..f58342b 100644
> --- a/dlls/winex11.drv/x11drv.h
> +++ b/dlls/winex11.drv/x11drv.h
> @@ -701,6 +701,7 @@ struct x11drv_win_data
> RECT whole_rect; /* X window rectangle for the whole window relative to parent */
> RECT client_rect; /* client area relative to parent */
> XIC xic; /* X input context */
> + XFontSet font_set; /* international text drawing font set */
> XWMHints *wm_hints; /* window manager hints */
> BOOL managed : 1; /* is window managed? */
> BOOL mapped : 1; /* is window mapped? (in either normal or iconic state) */
You shouldn't need to create a font set for each window, once per
display should be enough.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list