SAFERHANGUP
This is an initial round of SAFERHANGUP hangup changes. It introduces SAFERHANGUP, provides the core framework, and enables it for UNIX. Window-port changes are provided for win/tty, win/X11 and win/gnome. Qt changes should be forthcoming after having Warwick look at them. window.doc is updated so windowport maintainers have an clue what needs to be done to support SAFERHANGUP.
This commit is contained in:
@@ -1622,6 +1622,10 @@ x_event(exit_condition)
|
||||
inptr = (inptr+1) % INBUF_SIZE;
|
||||
/* pkey(retval); */
|
||||
keep_going = FALSE;
|
||||
} else if (program_state.done_hup) {
|
||||
retval = '\033';
|
||||
inptr = (inptr+1) % INBUF_SIZE;
|
||||
keep_going = FALSE;
|
||||
}
|
||||
break;
|
||||
case EXIT_ON_KEY_OR_BUTTON_PRESS:
|
||||
@@ -1637,6 +1641,10 @@ x_event(exit_condition)
|
||||
/* pkey(retval); */
|
||||
}
|
||||
keep_going = FALSE;
|
||||
} else if (program_state.done_hup) {
|
||||
retval = '\033';
|
||||
inptr = (inptr+1) % INBUF_SIZE;
|
||||
keep_going = FALSE;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user