aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-third__party_blink_renderer_core_editing_editing__behavior.cc
blob: c1ec87ff39836d2b6ca23c7dc6466225c9098087 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/blink/renderer/core/editing/editing_behavior.cc.orig	2021-01-07 00:36:41 UTC
+++ third_party/blink/renderer/core/editing/editing_behavior.cc
@@ -274,7 +274,7 @@ bool EditingBehavior::ShouldInsertCharacter(const Keyb
   // unexpected behaviour
   if (ch < ' ')
     return false;
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
   // According to XKB map no keyboard combinations with ctrl key are mapped to
   // printable characters, however we need the filter as the DomKey/text could
   // contain printable characters.