Add some console output in BadWindow case

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4319 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-06-02 22:24:20 +00:00
parent 1a494becc3
commit d18ef4398c
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-06-02 John Levon <moz@compsoc.man.ac.uk>
* lyx_gui.C: hope to generate some stats on xforms 1.0
and the BadWindow problem
2002-06-02 John Levon <moz@compsoc.man.ac.uk>
* WorkArea.C:

View File

@ -76,8 +76,11 @@ extern "C" {
static
int LyX_XErrHandler(Display * display, XErrorEvent * xeev)
{
// We don't abort on BadWindow
if (xeev->error_code == BadWindow) {
// We don't abort on BadWindow
lyxerr << "BadWindow received !" << endl;
lyxerr << "If you're using xforms 1.0 or greater, "
<< " please report this to lyx-devel@lists.lyx.org" << endl;
return 0;
}