diff options
Diffstat (limited to 'devel/electron6/files/patch-ui_views_selection__controller.cc')
-rw-r--r-- | devel/electron6/files/patch-ui_views_selection__controller.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron6/files/patch-ui_views_selection__controller.cc b/devel/electron6/files/patch-ui_views_selection__controller.cc new file mode 100644 index 000000000000..7924962bedf8 --- /dev/null +++ b/devel/electron6/files/patch-ui_views_selection__controller.cc @@ -0,0 +1,11 @@ +--- ui/views/selection_controller.cc.orig 2019-09-10 10:43:23 UTC ++++ ui/views/selection_controller.cc +@@ -21,7 +21,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 + |