From d627a970a4bb459e57effee771545595f317577b Mon Sep 17 00:00:00 2001 From: Neil Deakin Date: Mon, 17 Dec 2012 14:55:37 +0100 Subject: [PATCH] Bug 815691 - The panel's context menu doesn't change after clicking on a different item r=jimm --- widget/windows/nsWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp index 4e135c1adf14..e95416f1674f 100644 --- a/widget/windows/nsWindow.cpp +++ b/widget/windows/nsWindow.cpp @@ -8024,7 +8024,7 @@ nsWindow::DealWithPopups(HWND inWnd, UINT inMsg, WPARAM inWParam, LPARAM inLPara } // foreach parent menu widget } - if (inMsg == WM_MOUSEACTIVATE && popupsToRollup == UINT32_MAX) { + if (inMsg == WM_MOUSEACTIVATE) { // Prevent the click inside the popup from causing a change in window // activation. Since the popup is shown non-activated, we need to eat // any requests to activate the window while it is displayed. Windows