Bug 545892 - Fix for plugins kill aero glass / browser window sometimes loses aero glass effect. r=bent, a=final.

This commit is contained in:
Jim Mathies 2010-10-15 13:32:35 -05:00
Родитель be9c4e5a05
Коммит 7766ea7adc
1 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -292,12 +292,17 @@ ProcessOrDeferMessage(HWND hwnd,
case WM_GETMINMAXINFO:
case WM_GETTEXT:
case WM_NCHITTEST:
case WM_STYLECHANGING:
case WM_SYNCPAINT: // Intentional fall-through.
case WM_WINDOWPOSCHANGING: {
case WM_STYLECHANGING: // Intentional fall-through.
case WM_WINDOWPOSCHANGING: {
return DefWindowProc(hwnd, uMsg, wParam, lParam);
}
// Just return, prevents DefWindowProc from messaging the window
// syncronously with other events, which may be deferred. Prevents
// random shutdown of aero composition on the window.
case WM_SYNCPAINT:
return 0;
// Unknown messages only.
default: {
#ifdef DEBUG