mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-23 15:25:01 +00:00
Remove WM_SAVE_YOURSELF processing.
This commit is contained in:
13
x11/pdcx11.c
13
x11/pdcx11.c
@@ -1542,9 +1542,7 @@ Boolean *continue_to_dispatch;
|
||||
#endif
|
||||
/***********************************************************************/
|
||||
{
|
||||
#if 0
|
||||
XClientMessageEvent *client_event=(XClientMessageEvent *)event;
|
||||
#endif
|
||||
|
||||
#ifdef PDCDEBUG
|
||||
if (trace_on) PDC_debug("%s:XCursesNonmaskable called: otherpid %d\n",(XCursesProcess)?" X":"CURSES",otherpid);
|
||||
@@ -1555,16 +1553,13 @@ Boolean *continue_to_dispatch;
|
||||
#ifdef PDCDEBUG
|
||||
say("ClientMessage received\n");
|
||||
#endif
|
||||
#if 0
|
||||
/*
|
||||
* This code used to be included, but it resulted in continual
|
||||
* failure of THE on my Toshiba laptop. Removed 3-2-2001 to see
|
||||
* what effect it has.
|
||||
* This code used to include handling of WM_SAVE_YOURSELF, but
|
||||
* it resulted in continual failure of THE on my Toshiba laptop.
|
||||
* Removed on 3-3-2001. Now only exits on WM_DELETE_WINDOW
|
||||
*/
|
||||
if ((Atom)client_event->data.s[0] == wm_atom[0]
|
||||
|| (Atom)client_event->data.s[0] == wm_atom[1])
|
||||
if ( (Atom)client_event->data.s[0] == wm_atom[0] )
|
||||
XCursesExitXCursesProcess(0,SIGKILL,"");
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
#ifdef PDCDEBUG
|
||||
|
||||
Reference in New Issue
Block a user