Remove Xim

This commit is contained in:
John Schmidt 2014-03-17 19:07:06 +01:00 committed by Thiago de Arruda
parent d568548aa1
commit acf5757831
2 changed files with 0 additions and 31 deletions

View File

@ -141,36 +141,6 @@ static char utf8len_tab_zero[256] =
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,0,0,
};
/*
* XIM often causes trouble. Define XIM_DEBUG to get a log of XIM callbacks
* in the "xim.log" file.
*/
/* #define XIM_DEBUG */
#ifdef XIM_DEBUG
static void xim_log(char *s, ...)
{
va_list arglist;
static FILE *fd = NULL;
if (fd == (FILE *)-1)
return;
if (fd == NULL) {
fd = mch_fopen("xim.log", "w");
if (fd == NULL) {
EMSG("Cannot open xim.log");
fd = (FILE *)-1;
return;
}
}
va_start(arglist, s);
vfprintf(fd, s, arglist);
va_end(arglist);
}
#endif
/*
* Canonical encoding names and their properties.
* "iso-8859-n" is handled by enc_canonize() directly.

View File

@ -200,7 +200,6 @@ static char *(features[]) = {
"-X11",
#endif // if defined(UNIX) || defined(VMS)
"-xfontset",
"-xim",
#if defined(UNIX) || defined(VMS)
"-xsmp",
"-xterm_clipboard",