mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
alloy: Use Views context menus on Windows/Linux (fixes issue #3330)
This commit is contained in:
@@ -1116,7 +1116,8 @@ void CefRenderWidgetHostViewOSR::SendMouseEvent(
|
||||
TRACE_EVENT0("cef", "CefRenderWidgetHostViewOSR::SendMouseEvent");
|
||||
if (!IsPopupWidget()) {
|
||||
if (browser_impl_.get() &&
|
||||
event.GetType() == blink::WebMouseEvent::Type::kMouseDown) {
|
||||
event.GetType() == blink::WebMouseEvent::Type::kMouseDown &&
|
||||
event.button != blink::WebPointerProperties::Button::kRight) {
|
||||
browser_impl_->CancelContextMenu();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user