From deddbbf75d75211f4ecb20fcabbe4bc32358b5e8 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 git-svn-id: svn://10.0.0.236/trunk@114754 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/windows/nsWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/widget/src/windows/nsWindow.cpp b/mozilla/widget/src/windows/nsWindow.cpp index 85eb4081dd2..154027d0462 100644 --- a/mozilla/widget/src/windows/nsWindow.cpp +++ b/mozilla/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; }