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
parent d32d4258aa
commit 447f798a29

View File

@ -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