mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-23 15:25:01 +00:00
Exit here instead (calls PDC_scr_free() on the way out, via atexit()).
This commit is contained in:
@@ -368,7 +368,7 @@ static void _handle_nonmaskable(Widget w, XtPointer client_data, XEvent *event,
|
||||
Removed on 3-3-2001. Now only exits on WM_DELETE_WINDOW. */
|
||||
|
||||
if ((Atom)client_event->data.s[0] == wm_atom[0])
|
||||
XCursesExit();
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user