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

This commit is contained in:
blakeross%telocity.com 2002-02-17 23:47:09 +00:00
Родитель 391c32f009
Коммит 4b705602a2
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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;
}