#ifdef HAVE_XOPENIM
// This part is the full blown Input Method manager for X11R5 and up.
// For the plain-and-old-X11R4 version, see later.
-#include FORMS_H_LOCATION
-//#include <X11/Xlib.h>
-//#include <X11/Xutil.h>
-//#include <X11/keysym.h>
-#if FL_REVISION < 89
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+#include <X11/keysym.h>
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
void InitLyXLookup(Display * display, Window window)
{
xic = 0;
-
+
+ lyxerr[Debug::KEY]
+ << "InitLyXLookup: creating an input context."
+ << endl;
+
// This part could be done before opening display
setlocale(LC_CTYPE, "");
if (!XSupportsLocale()) {
lyxerr[Debug::KEY] << "XBufferOverflow" << endl;
break;
case XLookupBoth:
- lyxerr[Debug::KEY] << "XLookupBoth"
+ lyxerr[Debug::KEY] << "XLookupBoth "
<< string(buffer_return, result)
<< endl;
break;
#endif // HAVE_XOPENIM
-#endif