summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-12-13 05:41:55 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-12-13 05:41:55 +0000
commit9b011d3b30926b050f4b4464ac0556972b303e2b (patch)
tree5f29eec7363f78ecb557a151a920943fba179f32 /src/xterm.h
parentbb9038ffc0df57d00992997d72bc79a0d880d27e (diff)
downloademacs-9b011d3b30926b050f4b4464ac0556972b303e2b.tar.gz
(struct xim_inst_t): Definition moved from xterm.c.
(struct x_display_info): Remove unused member null_pixel. New member xim_callback_data.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 3f437b86e97..f917eb6bc61 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -88,6 +88,15 @@ typedef GtkWidget *xt_or_gtk_widget;
| 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 @@ struct x_display_info
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 @@ struct x_display_info
/* 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