Bug 1199892 - "Mouse cursor flickers in Flash object with wmode opaque/transparent". r=roc

This commit is contained in:
Jim Mathies 2015-10-01 05:51:00 +02:00
parent 82e53ac666
commit 54d208eba0

View File

@ -4761,16 +4761,6 @@ nsWindow::ProcessMessage(UINT msg, WPARAM& wParam, LPARAM& lParam,
// (Large blocks of code should be broken out into OnEvent handlers.)
switch (msg) {
// Manually reset the cursor if WM_SETCURSOR is requested while over
// application content (as opposed to Windows borders, etc).
case WM_SETCURSOR:
if (LOWORD(lParam) == HTCLIENT)
{
SetCursor(GetCursor());
result = true;
}
break;
// WM_QUERYENDSESSION must be handled by all windows.
// Otherwise Windows thinks the window can just be killed at will.
case WM_QUERYENDSESSION: