aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 8498382511b..20157acca2e 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -133,9 +133,9 @@ extern void _XEditResCheckMessages (Widget, XtPointer, XEvent *, Boolean *);
133 133
134/* Default to using XIM if available. */ 134/* Default to using XIM if available. */
135#ifdef USE_XIM 135#ifdef USE_XIM
136int use_xim = 1; 136bool use_xim = true;
137#else 137#else
138int use_xim = 0; /* configure --without-xim */ 138bool use_xim = false; /* configure --without-xim */
139#endif 139#endif
140 140
141/* Non-zero means that a HELP_EVENT has been generated since Emacs 141/* Non-zero means that a HELP_EVENT has been generated since Emacs
@@ -6172,7 +6172,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
6172#ifdef USE_GTK 6172#ifdef USE_GTK
6173 /* Don't pass keys to GTK. A Tab will shift focus to the 6173 /* Don't pass keys to GTK. A Tab will shift focus to the
6174 tool bar in GTK 2.4. Keys will still go to menus and 6174 tool bar in GTK 2.4. Keys will still go to menus and
6175 dialogs because in that case popup_activated is TRUE 6175 dialogs because in that case popup_activated is nonzero
6176 (see above). */ 6176 (see above). */
6177 *finish = X_EVENT_DROP; 6177 *finish = X_EVENT_DROP;
6178#endif 6178#endif
@@ -10092,12 +10092,12 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name)
10092 if (STRINGP (value) 10092 if (STRINGP (value)
10093 && (!strcmp (SSDATA (value), "false") 10093 && (!strcmp (SSDATA (value), "false")
10094 || !strcmp (SSDATA (value), "off"))) 10094 || !strcmp (SSDATA (value), "off")))
10095 use_xim = 0; 10095 use_xim = false;
10096#else 10096#else
10097 if (STRINGP (value) 10097 if (STRINGP (value)
10098 && (!strcmp (SSDATA (value), "true") 10098 && (!strcmp (SSDATA (value), "true")
10099 || !strcmp (SSDATA (value), "on"))) 10099 || !strcmp (SSDATA (value), "on")))
10100 use_xim = 1; 10100 use_xim = true;
10101#endif 10101#endif
10102 } 10102 }
10103 10103