mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 00:11:49 +00:00
eff9b6b7c9
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@983 a592a061-630c-0410-9148-cb99ea01b6c8
47 lines
776 B
C
47 lines
776 B
C
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 2000 The LyX Team.
|
|
*
|
|
*======================================================*/
|
|
|
|
#include <config.h>
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation
|
|
#endif
|
|
|
|
#include FORMS_H_LOCATION
|
|
#include "GUIRunTime.h"
|
|
#include "debug.h"
|
|
|
|
using std::endl;
|
|
|
|
extern bool finished;
|
|
|
|
|
|
void GUIRunTime::processEvents()
|
|
{
|
|
XEvent ev;
|
|
|
|
if (fl_do_forms() == FL_EVENT) {
|
|
lyxerr << "LyX: This shouldn't happen..." << endl;
|
|
fl_XNextEvent(&ev);
|
|
}
|
|
}
|
|
|
|
|
|
void GUIRunTime::runTime()
|
|
{
|
|
XEvent ev;
|
|
while (!finished) {
|
|
if (fl_check_forms() == FL_EVENT) {
|
|
lyxerr << "LyX: This shouldn't appen..." << endl;
|
|
fl_XNextEvent(&ev);
|
|
}
|
|
}
|
|
}
|
|
|