# HG changeset patch # User Chong Yidong # Date 1229146915 0 # Node ID 5a21f5d2ef2477ab87bac41e2b6156b223ef0f52 # Parent 81a626d61e0e5e794d5fbf7759f967937b13e138 (struct xim_inst_t): Definition moved from xterm.c. (struct x_display_info): Remove unused member null_pixel. New member xim_callback_data. diff -r 81a626d61e0e -r 5a21f5d2ef24 src/xterm.h --- a/src/xterm.h Sat Dec 13 05:40:29 2008 +0000 +++ b/src/xterm.h Sat Dec 13 05:41:55 2008 +0000 @@ -88,6 +88,15 @@ | EnterWindowMask \ | VisibilityChangeMask) +#ifdef HAVE_X11R6_XIM +/* Data structure passed to xim_instantiate_callback. */ +struct xim_inst_t +{ + struct x_display_info *dpyinfo; + char *resource_name; +}; +#endif /* HAVE_X11R6_XIM */ + /* Structure recording X pixmap and reference count. If REFCOUNT is 0 then this record is free to be reused. */ @@ -305,10 +314,6 @@ minibuffer. */ struct frame *x_highlight_frame; - /* The null pixel used for filling a character background with - background color of a gc. */ - Pixmap null_pixel; - /* The gray pixmap. */ Pixmap gray; @@ -316,6 +321,7 @@ /* XIM (X Input method). */ XIM xim; XIMStyles *xim_styles; + struct xim_inst_t *xim_callback_data; #endif /* If non-null, a cache of the colors in the color map. Don't