From 7b8d4a3fb5c248f39afab0d76535b48ccd2a5bcd Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 15 Oct 1995 15:17:01 +0000 Subject: [PATCH] (HAVE_X_I18N): New macro. Maybe include Xlocale.h. (struct x_output): New field xic. (FRAME_XIC): New macro. --- src/xterm.h | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 #include +#ifdef HAVE_X11R5 +#define HAVE_X_I18N +#include +#endif + #ifdef USE_X_TOOLKIT #include #include /* 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. */ -- 2.39.2