Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7e7ade6e
Commit
7e7ade6e
authored
Jul 29, 2003
by
Richard M. Stallman
Browse files
(xim_open_dpy, xim_initialize, xim_close_dpy):
Conditionalize XIM code on HAVE_XIM.
parent
85cad579
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/xterm.c
src/xterm.c
+6
-0
No files found.
src/xterm.c
View file @
7e7ade6e
...
...
@@ -8024,6 +8024,7 @@ xim_open_dpy (dpyinfo, resource_name)
{
XIM xim;
#ifdef HAVE_XIM
if (use_xim)
{
xim = XOpenIM (dpyinfo->display, dpyinfo->xrdb, resource_name,
...
...
@@ -8048,6 +8049,7 @@ xim_open_dpy (dpyinfo, resource_name)
}
else
#endif /* HAVE_XIM */
dpyinfo->xim = NULL;
}
...
...
@@ -8122,6 +8124,7 @@ xim_initialize (dpyinfo, resource_name)
struct x_display_info *dpyinfo;
char *resource_name;
{
#ifdef HAVE_XIM
if (use_xim)
{
#ifdef HAVE_X11R6_XIM
...
...
@@ -8148,6 +8151,7 @@ xim_initialize (dpyinfo, resource_name)
}
else
#endif /* HAVE_XIM */
dpyinfo->xim = NULL;
}
...
...
@@ -8158,6 +8162,7 @@ static void
xim_close_dpy (dpyinfo)
struct x_display_info *dpyinfo;
{
#ifdef HAVE_XIM
if (use_xim)
{
#ifdef HAVE_X11R6_XIM
...
...
@@ -8171,6 +8176,7 @@ xim_close_dpy (dpyinfo)
dpyinfo->xim = NULL;
XFree (dpyinfo->xim_styles);
}
#endif /* HAVE_XIM */
}
#endif /* not HAVE_X11R6_XIM */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment