aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-10-15 15:17:01 +0000
committerRichard M. Stallman1995-10-15 15:17:01 +0000
commit7b8d4a3fb5c248f39afab0d76535b48ccd2a5bcd (patch)
treec7d1d0720f77fc26a2479845dcf7371e8c8d5349 /src
parent8d392c8e7e479f05940d3b9df84c5d8546c39ab0 (diff)
downloademacs-7b8d4a3fb5c248f39afab0d76535b48ccd2a5bcd.tar.gz
emacs-7b8d4a3fb5c248f39afab0d76535b48ccd2a5bcd.zip
(HAVE_X_I18N): New macro.
Maybe include Xlocale.h. (struct x_output): New field xic. (FRAME_XIC): New macro.
Diffstat (limited to 'src')
-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. */
24#include <X11/Xatom.h> 24#include <X11/Xatom.h>
25#include <X11/Xresource.h> 25#include <X11/Xresource.h>
26 26
27#ifdef HAVE_X11R5
28#define HAVE_X_I18N
29#include <X11/Xlocale.h>
30#endif
31
27#ifdef USE_X_TOOLKIT 32#ifdef USE_X_TOOLKIT
28#include <X11/StringDefs.h> 33#include <X11/StringDefs.h>
29#include <X11/IntrinsicP.h> /* CoreP.h needs this */ 34#include <X11/IntrinsicP.h> /* CoreP.h needs this */
@@ -481,6 +486,11 @@ struct x_output
481 486
482 /* Nonzero means tried already to make this frame visible. */ 487 /* Nonzero means tried already to make this frame visible. */
483 char asked_for_visible; 488 char asked_for_visible;
489
490#ifdef HAVE_X_I18N
491 /* Input context (currently, this means Compose key handler setup). */
492 XIC xic;
493#endif
484}; 494};
485 495
486/* Get at the computed faces of an X window frame. */ 496/* Get at the computed faces of an X window frame. */
@@ -517,6 +527,7 @@ struct x_output
517 527
518#define FRAME_DESIRED_CURSOR(f) ((f)->output_data.x->desired_cursor) 528#define FRAME_DESIRED_CURSOR(f) ((f)->output_data.x->desired_cursor)
519 529
530#define FRAME_XIC(f) ((f)->display.x->xic)
520 531
521/* X-specific scroll bar stuff. */ 532/* X-specific scroll bar stuff. */
522 533