зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
391c32f009
Коммит
4b705602a2
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче