mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 08:28:34 +00:00
Remove Xim
This commit is contained in:

committed by
Thiago de Arruda

parent
d568548aa1
commit
acf5757831
30
src/mbyte.c
30
src/mbyte.c
@@ -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,
|
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.
|
* Canonical encoding names and their properties.
|
||||||
* "iso-8859-n" is handled by enc_canonize() directly.
|
* "iso-8859-n" is handled by enc_canonize() directly.
|
||||||
|
@@ -200,7 +200,6 @@ static char *(features[]) = {
|
|||||||
"-X11",
|
"-X11",
|
||||||
#endif // if defined(UNIX) || defined(VMS)
|
#endif // if defined(UNIX) || defined(VMS)
|
||||||
"-xfontset",
|
"-xfontset",
|
||||||
"-xim",
|
|
||||||
#if defined(UNIX) || defined(VMS)
|
#if defined(UNIX) || defined(VMS)
|
||||||
"-xsmp",
|
"-xsmp",
|
||||||
"-xterm_clipboard",
|
"-xterm_clipboard",
|
||||||
|
Reference in New Issue
Block a user