blob: e58090d81bb3b98a664b7f2bf3546d6da72eba36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2023-07-24 14:27:53 UTC
+++ content/browser/renderer_host/render_widget_host_view_event_handler.cc
@@ -597,7 +597,7 @@ bool RenderWidgetHostViewEventHandler::CanRendererHand
if (event->type() == ui::ET_MOUSE_EXITED) {
if (mouse_locked || selection_popup)
return false;
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Don't forward the mouse leave message which is received when the context
// menu is displayed by the page. This confuses the page and causes state
// changes.
|