a0dbfe2fb0
Submitted by: Matthias Wolf, cem, rene Obtained from: Some patches from OpenBSD port (robert@openbsd.org)
12 lines
484 B
C++
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
|
|
|