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
Родитель 10017eda0f
Коммит c0e2ef953d
1 изменённых файлов: 0 добавлений и 10 удалений

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

@ -4761,16 +4761,6 @@ nsWindow::ProcessMessage(UINT msg, WPARAM& wParam, LPARAM& lParam,
// (Large blocks of code should be broken out into OnEvent handlers.) // (Large blocks of code should be broken out into OnEvent handlers.)
switch (msg) { 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. // WM_QUERYENDSESSION must be handled by all windows.
// Otherwise Windows thinks the window can just be killed at will. // Otherwise Windows thinks the window can just be killed at will.
case WM_QUERYENDSESSION: case WM_QUERYENDSESSION: