aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-third__party_blink_renderer_core_editing_editing__behavior.cc
blob: 4297a55b2180ab10093e375ebd158a590acdf8c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/blink/renderer/core/editing/editing_behavior.cc.orig	2022-02-28 16:54:41 UTC
+++ third_party/blink/renderer/core/editing/editing_behavior.cc
@@ -280,7 +280,7 @@ bool EditingBehavior::ShouldInsertCharacter(const Keyb
   // unexpected behaviour
   if (ch < ' ')
     return false;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_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.