#include "BufferView.h"
#include "LyXView.h"
#include "lyxfunc.h"
+
+#if FL_REVISION < 89
#include "lyxlookup.h"
+#endif
using std::endl;
// needed to make the c++ compiler find the correct version of abs.
// This is at least true for g++.
-using std::abs;
+//using std::abs;
static inline
void waitForX()
break;
case FL_KEYBOARD:
{
- lyxerr[Debug::KEY] << "Workarea event: KEYBOARD";
+ lyxerr[Debug::KEY] << "Workarea event: KEYBOARD" << endl;
KeySym keysym = 0;
char dummy[1];
}
KeySym ret_key = keysym;
#else
+ // Ok, this is a bit simplistic...seems that the rules
+ // need to be a bit more...
if (!key) break;
KeySym ret_key = (keysym ? keysym : key);
#endif