diff options
| author | Kim F. Storm | 2003-07-08 21:46:58 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-07-08 21:46:58 +0000 |
| commit | 3ff483be333281cdaf0f5e951a2deaf56576a10e (patch) | |
| tree | 152f5bcd3771a9a84bb9eaa5b2359e8394f83b28 /src | |
| parent | 2e7ecf1520ab92064f9bb1321e47bf6a1f2c1a5c (diff) | |
| download | emacs-3ff483be333281cdaf0f5e951a2deaf56576a10e.tar.gz emacs-3ff483be333281cdaf0f5e951a2deaf56576a10e.zip | |
(use_xim) [!USE_XIM]: Default to disable XIM if emacs
was configured with --without-xim.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index f83b1b7146e..59d8835237e 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -159,7 +159,12 @@ extern void _XEditResCheckMessages (); | |||
| 159 | #define abs(x) ((x) < 0 ? -(x) : (x)) | 159 | #define abs(x) ((x) < 0 ? -(x) : (x)) |
| 160 | 160 | ||
| 161 | /* Default to using XIM if available. */ | 161 | /* Default to using XIM if available. */ |
| 162 | #ifdef USE_XIM | ||
| 162 | int use_xim = 1; | 163 | int use_xim = 1; |
| 164 | #else | ||
| 165 | int use_xim = 0; /* configure --without-xim */ | ||
| 166 | #endif | ||
| 167 | |||
| 163 | 168 | ||
| 164 | 169 | ||
| 165 | /* Non-nil means Emacs uses toolkit scroll bars. */ | 170 | /* Non-nil means Emacs uses toolkit scroll bars. */ |