aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_blink_renderer_core_editing_editing__behavior.cc
blob: 1ba55b799c74e674606d90e98bc1d0a0fb0c7be6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/blink/renderer/core/editing/editing_behavior.cc.orig	2020-03-16 18:39:56 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)
+#if defined(OS_LINUX) || 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.