* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-2000 The LyX team.
+ * Copyright 1995-2001 The LyX team.
*
* ====================================================== */
using std::endl;
-static XIM xim;
-static XIC xic;
+namespace {
+
+XIM xim;
+XIC xic;
XComposeStatus compose_status= {0, 0};
+} // namespace anon
+
+
// This is called after the main LyX window has been created
void InitLyXLookup(Display * display, Window window)
{
}
-static
+namespace {
+
bool isDeadEvent(KeySym keysym)
{
// Can this be done safely in any other way?
}
}
+} // namespace anon
+
// This is called instead of XLookupString()
int LyXLookupString(XEvent * event,