From 4b705602a20ca6f3353dbf22cee466a84d9fdece Mon Sep 17 00:00:00 2001 From: "blakeross%telocity.com" Date: Sun, 17 Feb 2002 23:47:09 +0000 Subject: [PATCH] 126058 - right mouse down on outliner item while context menu is open doesn't select new item. Allow the right mouse button down event to be dispatched when rolling up context menus. r=pink sr=hewitt --- widget/src/windows/nsWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/windows/nsWindow.cpp b/widget/src/windows/nsWindow.cpp index 85eb4081dd20..154027d04628 100644 --- a/widget/src/windows/nsWindow.cpp +++ b/widget/src/windows/nsWindow.cpp @@ -1064,7 +1064,7 @@ nsWindow :: DealWithPopups ( UINT inMsg, WPARAM inWParam, LPARAM inLParam, LRESU // false allows the event to be dispatched // // So if we are NOT supposed to be consuming events, let it go through - if (gRollupConsumeRollupEvent) { + if (gRollupConsumeRollupEvent && inMsg != WM_RBUTTONDOWN) { *outResult = TRUE; return TRUE; }