summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view__aura.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view__aura.cc')
-rw-r--r--www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view__aura.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view__aura.cc b/www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view__aura.cc
new file mode 100644
index 000000000000..659f4f175b2e
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_eye__dropper_eye__dropper__view__aura.cc
@@ -0,0 +1,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();