From d18ef4398c21c72708491e3a8b70dbcad2e73a19 Mon Sep 17 00:00:00 2001 From: John Levon Date: Sun, 2 Jun 2002 22:24:20 +0000 Subject: [PATCH] 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 --- src/ChangeLog | 5 +++++ src/lyx_gui.C | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index b96e494741..1cc680b818 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-06-02 John Levon + + * lyx_gui.C: hope to generate some stats on xforms 1.0 + and the BadWindow problem + 2002-06-02 John Levon * WorkArea.C: diff --git a/src/lyx_gui.C b/src/lyx_gui.C index c24014761d..ef15d73f63 100644 --- a/src/lyx_gui.C +++ b/src/lyx_gui.C @@ -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; }