aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_events_event__switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-ui_events_event__switches.cc')
-rw-r--r--www/chromium/files/patch-ui_events_event__switches.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-ui_events_event__switches.cc b/www/chromium/files/patch-ui_events_event__switches.cc
new file mode 100644
index 000000000000..443a7ecefbb8
--- /dev/null
+++ b/www/chromium/files/patch-ui_events_event__switches.cc
@@ -0,0 +1,11 @@
+--- ui/events/event_switches.cc.orig 2016-03-25 13:05:03 UTC
++++ ui/events/event_switches.cc
+@@ -28,7 +28,7 @@ const char kTouchEventsDisabled[] = "dis
+ 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'.