mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1263982, the return value of Rollup should override the consume value as with other platforms, r=jmathies
This commit is contained in:
parent
a030ec3ce6
commit
f51b267a55
@ -7645,13 +7645,11 @@ nsWindow::DealWithPopups(HWND aWnd, UINT aMessage,
|
|||||||
nsIntPoint pos(pt.x, pt.y);
|
nsIntPoint pos(pt.x, pt.y);
|
||||||
|
|
||||||
consumeRollupEvent =
|
consumeRollupEvent =
|
||||||
rollupListener->Rollup(popupsToRollup, true, &pos, &mLastRollup) ||
|
rollupListener->Rollup(popupsToRollup, true, &pos, &mLastRollup);
|
||||||
consumeRollupEvent;
|
|
||||||
NS_IF_ADDREF(mLastRollup);
|
NS_IF_ADDREF(mLastRollup);
|
||||||
} else {
|
} else {
|
||||||
consumeRollupEvent =
|
consumeRollupEvent =
|
||||||
rollupListener->Rollup(popupsToRollup, true, nullptr, nullptr) ||
|
rollupListener->Rollup(popupsToRollup, true, nullptr, nullptr);
|
||||||
consumeRollupEvent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tell hook to stop processing messages
|
// Tell hook to stop processing messages
|
||||||
|
Loading…
Reference in New Issue
Block a user