#endif
#include "bufferlist.h"
#include "ColorHandler.h"
-#include "frontends/Dialogs.h"
#include "frontends/GUIRunTime.h"
#include "frontends/xforms/xforms_helpers.h" // for XformColor
static
int LyX_XErrHandler(Display * display, XErrorEvent * xeev)
{
- // emergency save
- if (!bufferlist.empty())
- bufferlist.emergencyWriteAll();
+ // emergency cleanup
+ LyX::emergencyCleanup();
// Get the reason for the crash.
char etxt[513];
}
lyxViews->show(main_placement, FL_FULLBORDER, "LyX");
-
- if (lyxrc.show_banner)
- lyxViews->getDialogs()->showSplash();
}