additional X11 SAFERHANGUP changes

While messing around with window closure events, I found that some such
events during startup were being ignored as a result a SAFERHANGUP changes.
This commit is contained in:
cohrs
2003-10-14 07:55:36 +00:00
parent cc2105b7b4
commit 9dc6ad96da
2 changed files with 5 additions and 4 deletions

View File

@@ -320,7 +320,7 @@ X11_player_selection()
XtDestroyWidget(popup);
free((genericptr_t)choices), choices = 0;
if (ps_selected == PS_QUIT) {
if (ps_selected == PS_QUIT || program_state.done_hup) {
clearlocks();
X11_exit_nhwindows((char *)0);
terminate(0);
@@ -385,7 +385,7 @@ X11_player_selection()
XtDestroyWidget(popup);
free((genericptr_t)choices), choices = 0;
if (ps_selected == PS_QUIT) {
if (ps_selected == PS_QUIT || program_state.done_hup) {
clearlocks();
X11_exit_nhwindows((char *)0);
terminate(0);
@@ -450,7 +450,7 @@ X11_player_selection()
XtDestroyWidget(popup);
free((genericptr_t)choices), choices = 0;
if (ps_selected == PS_QUIT) {
if (ps_selected == PS_QUIT || program_state.done_hup) {
clearlocks();
X11_exit_nhwindows((char *)0);
terminate(0);
@@ -514,7 +514,7 @@ X11_player_selection()
XtDestroyWidget(popup);
free((genericptr_t)choices), choices = 0;
if (ps_selected == PS_QUIT) {
if (ps_selected == PS_QUIT || program_state.done_hup) {
clearlocks();
X11_exit_nhwindows((char *)0);
terminate(0);