зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1181176 - Pass along x and y position for context menus on Graphene. r=fabrice
This commit is contained in:
Родитель
261d106827
Коммит
8edf122c8c
|
@ -868,6 +868,10 @@ BrowserElementChild.prototype = {
|
|||
}
|
||||
}
|
||||
|
||||
// Pass along the position where the context menu should be located
|
||||
menuData.clientX = e.clientX;
|
||||
menuData.clientY = e.clientY;
|
||||
|
||||
// The value returned by the contextmenu sync call is true if the embedder
|
||||
// called preventDefault() on its contextmenu event.
|
||||
//
|
||||
|
|
Загрузка…
Ссылка в новой задаче