Maybe include Xlocale.h.
(struct x_output): New field xic.
(FRAME_XIC): New macro.
#include <X11/Xatom.h>
#include <X11/Xresource.h>
+#ifdef HAVE_X11R5
+#define HAVE_X_I18N
+#include <X11/Xlocale.h>
+#endif
+
#ifdef USE_X_TOOLKIT
#include <X11/StringDefs.h>
#include <X11/IntrinsicP.h> /* CoreP.h needs this */
/* Nonzero means tried already to make this frame visible. */
char asked_for_visible;
+
+#ifdef HAVE_X_I18N
+ /* Input context (currently, this means Compose key handler setup). */
+ XIC xic;
+#endif
};
/* Get at the computed faces of an X window frame. */
#define FRAME_DESIRED_CURSOR(f) ((f)->output_data.x->desired_cursor)
+#define FRAME_XIC(f) ((f)->display.x->xic)
\f
/* X-specific scroll bar stuff. */