Files
ports/www/chromium/files/patch-ui_views_selection__controller.cc
T
Joseph Mingrone a0dbfe2fb0 www/chromium: Update to version 87.0.4280.66
Submitted by:	Matthias Wolf, cem, rene
Obtained from:	Some patches from OpenBSD port (robert@openbsd.org)
2020-12-01 04:06:37 +00:00

12 lines
484 B
C++

--- ui/views/selection_controller.cc.orig 2020-11-13 06:37:06 UTC
+++ ui/views/selection_controller.cc
@@ -23,7 +23,7 @@ SelectionController::SelectionController(SelectionCont
delegate_(delegate),
handles_selection_clipboard_(false) {
// On Linux, update the selection clipboard on a text selection.
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
set_handles_selection_clipboard(true);
#endif