blob: 49432a61fa25868df21fb14671c9b4fe712d0702 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- chrome/browser/ui/views/eye_dropper/eye_dropper_view_aura.cc.orig 2023-10-13 13:20:35 UTC
+++ chrome/browser/ui/views/eye_dropper/eye_dropper_view_aura.cc
@@ -127,7 +127,7 @@ void EyeDropperView::MoveViewToFront() {
}
void EyeDropperView::CaptureInputIfNeeded() {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// The eye dropper needs to capture input since it is not activated
// in order to avoid dismissing the color picker.
GetWidget()->GetNativeWindow()->SetCapture();
|