Fix popdown of Error/Help dialog through window-close button
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 13 Mar 2016 08:21:43 +0000 (09:21 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 13 Mar 2016 08:21:43 +0000 (09:21 +0100)
commit2732b225cfe95593069878951f7ae32d23b9be0f
treef29e013013cb807f09aa313a2d2bef0f9d8a62ee
parente7f8cb8acc3d72df3a0ac5102004a9a33f6bbd63
Fix popdown of Error/Help dialog through window-close button

Closing an Error popup that was a daughter of another dialog (as Help
dialogs would often be) through the window-close button instead of 'OK'
would permanently block popdown of the parent dialog, because the info
that the Error dialog was still up would not have been reset by the Error
dialog's OK function. GenericPopDown now calls the OK function of such
a dialog (actually FatalDlg) even on a REJECT response.
dialogs.c
dialogs.h
gtk/xoptions.c