From c0e2ef953d1c17a1f29733bf8e910eebad7cdad4 Mon Sep 17 00:00:00 2001 From: Jim Mathies Date: Thu, 1 Oct 2015 05:51:00 +0200 Subject: [PATCH] Bug 1199892 - "Mouse cursor flickers in Flash object with wmode opaque/transparent". r=roc --- widget/windows/nsWindow.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp index a5a390a91f4e..7ef5148b55fb 100644 --- a/widget/windows/nsWindow.cpp +++ b/widget/windows/nsWindow.cpp @@ -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: