summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view__aura.cc
blob: 659f4f175b2eabe10dd8e828825f278f433bb295 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/eye_dropper/eye_dropper_view_aura.cc.orig	2023-12-23 12:33:28 UTC
+++ components/eye_dropper/eye_dropper_view_aura.cc
@@ -129,7 +129,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();