summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-10-15 15:17:01 +0000
committerRichard M. Stallman <rms@gnu.org>1995-10-15 15:17:01 +0000
commitdcc02e324d4e7e2ec5c473db110b6c0203214435 (patch)
tree838101274a6724ee953d3332ecad73342e711c81 /src/xterm.h
parent347c03ab74bc9db4939f3bdee146ac1a22779524 (diff)
downloademacs-dcc02e324d4e7e2ec5c473db110b6c0203214435.tar.gz
(HAVE_X_I18N): New macro.
Maybe include Xlocale.h. (struct x_output): New field xic. (FRAME_XIC): New macro.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 77c17bcb155..7b5f890fa4f 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -24,6 +24,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#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 */
@@ -481,6 +486,11 @@ struct x_output
/* 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. */
@@ -517,6 +527,7 @@ struct x_output
#define FRAME_DESIRED_CURSOR(f) ((f)->output_data.x->desired_cursor)
+#define FRAME_XIC(f) ((f)->display.x->xic)
/* X-specific scroll bar stuff. */