Mercurial > emacs
changeset 13226:3b15cf8aa50d
(HAVE_X_I18N): New macro.
Maybe include Xlocale.h.
(struct x_output): New field xic.
(FRAME_XIC): New macro.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 15 Oct 1995 15:17:01 +0000 |
parents | 76ce98050470 |
children | d8af44485b3c |
files | src/xterm.h |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <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 @@ /* 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. */