mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
dont abort on BadWindow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3770 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
13978291c4
commit
c18a87393d
@ -1,3 +1,7 @@
|
||||
2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
|
||||
|
||||
* lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
|
||||
|
||||
2002-03-18 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
|
||||
|
@ -76,6 +76,11 @@ extern "C" {
|
||||
static
|
||||
int LyX_XErrHandler(Display * display, XErrorEvent * xeev)
|
||||
{
|
||||
if (xeev->error_code == BadWindow) {
|
||||
// We don't abort on BadWindow
|
||||
return 0;
|
||||
}
|
||||
|
||||
// emergency cleanup
|
||||
LyX::emergencyCleanup();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user