зеркало из https://github.com/mozilla/gecko-dev.git
[OS/2] Bug 351474: No reaction to WM_QUIT, r=mkaply
This commit is contained in:
Родитель
c15b9aea09
Коммит
81dc9da85d
|
@ -2666,6 +2666,8 @@ PRBool nsWindow::ProcessMessage( ULONG msg, MPARAM mp1, MPARAM mp2, MRESULT &rc)
|
|||
break;
|
||||
|
||||
case WM_CLOSE: // close request
|
||||
case WM_QUIT: // interpret WM_QUIT as a close request, too,
|
||||
// so that windows can be closed from the Window List
|
||||
mWindowState |= nsWindowState_eClosing;
|
||||
DispatchStandardEvent( NS_XUL_CLOSE );
|
||||
result = PR_TRUE; // abort window closure
|
||||
|
|
Загрузка…
Ссылка в новой задаче