зеркало из https://github.com/mozilla/gecko-dev.git
Had the wrong integer value for the right mouse button.
This commit is contained in:
Родитель
e01ebb5b88
Коммит
030f73ed26
|
@ -151,7 +151,7 @@ XULPopupListenerImpl::MouseDown(nsIDOMEvent* aMouseEvent)
|
|||
// Check for right mouse button down
|
||||
aMouseEvent->GetButton(&button);
|
||||
// XXX: Handle Mac
|
||||
if (button == 2) {
|
||||
if (button == 3) {
|
||||
// Time to launch a context menu.
|
||||
LaunchPopup(aMouseEvent);
|
||||
}
|
||||
|
|
|
@ -151,7 +151,7 @@ XULPopupListenerImpl::MouseDown(nsIDOMEvent* aMouseEvent)
|
|||
// Check for right mouse button down
|
||||
aMouseEvent->GetButton(&button);
|
||||
// XXX: Handle Mac
|
||||
if (button == 2) {
|
||||
if (button == 3) {
|
||||
// Time to launch a context menu.
|
||||
LaunchPopup(aMouseEvent);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче