diff options
Diffstat (limited to 'devel/electron13/files/patch-ui_events_event__switches.cc')
-rw-r--r-- | devel/electron13/files/patch-ui_events_event__switches.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-ui_events_event__switches.cc b/devel/electron13/files/patch-ui_events_event__switches.cc new file mode 100644 index 000000000000..ea090dc7bc02 --- /dev/null +++ b/devel/electron13/files/patch-ui_events_event__switches.cc @@ -0,0 +1,11 @@ +--- ui/events/event_switches.cc.orig 2021-01-07 00:37:28 UTC ++++ ui/events/event_switches.cc +@@ -14,7 +14,7 @@ namespace switches { + const char kCompensateForUnstablePinchZoom[] = + "compensate-for-unstable-pinch-zoom"; + +-#if defined(OS_LINUX) || defined(OS_CHROMEOS) ++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) + // Tells chrome to interpret events from these devices as touch events. Only + // available with XInput 2 (i.e. X server 1.8 or above). The id's of the + // devices can be retrieved from 'xinput list'. |