# HG changeset patch # User Richard M. Stallman # Date 813770221 0 # Node ID 3b15cf8aa50d99b1034267e1c3eb8be563e724a5 # Parent 76ce98050470361515062727489574857f835a50 (HAVE_X_I18N): New macro. Maybe include Xlocale.h. (struct x_output): New field xic. (FRAME_XIC): New macro. diff -r 76ce98050470 -r 3b15cf8aa50d src/xterm.h --- a/src/xterm.h Sun Oct 15 08:54:13 1995 +0000 +++ b/src/xterm.h Sun Oct 15 15:17:01 1995 +0000 @@ -24,6 +24,11 @@ #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 @@ /* 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 @@ #define FRAME_DESIRED_CURSOR(f) ((f)->output_data.x->desired_cursor) +#define FRAME_XIC(f) ((f)->display.x->xic) /* X-specific scroll bar stuff. */