summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-ui_events_event__switches.cc
blob: 1abe4f4d87b6b5e2cae93f99fc8d8540e2b5958e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/events/event_switches.cc.orig	2019-03-15 06:38:27 UTC
+++ ui/events/event_switches.cc
@@ -17,7 +17,7 @@ const char kEnableScrollPrediction[] = "enable-scroll-
 const char kCompensateForUnstablePinchZoom[] =
     "compensate-for-unstable-pinch-zoom";
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_FREEBSD)
 // 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'.