summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-ui_events_event__switches.cc
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2017-04-29 23:00:33 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2017-04-29 23:00:33 +0000
commit633f9296f4a9a6d9f4988a62658038fdd8c8cc4f (patch)
tree2f4294c7dbe2c6fd14de23902212e77c6a108530 /www/iridium/files/patch-ui_events_event__switches.cc
parentwww/chromium: update to 58.0.3029.81 (diff)
Add new port www/iridium
Iridium is a free, open, and libre browser modification of the Chromium code base, with privacy being enhanced in several key areas. Automatic transmission of partial queries, keywords, metrics to central services is inhibited and only occurs with consent. WWW: https://iridiumbrowser.de/
Diffstat (limited to 'www/iridium/files/patch-ui_events_event__switches.cc')
-rw-r--r--www/iridium/files/patch-ui_events_event__switches.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/iridium/files/patch-ui_events_event__switches.cc b/www/iridium/files/patch-ui_events_event__switches.cc
new file mode 100644
index 000000000000..97ce603ed348
--- /dev/null
+++ b/www/iridium/files/patch-ui_events_event__switches.cc
@@ -0,0 +1,11 @@
+--- ui/events/event_switches.cc.orig 2017-04-19 19:06:54 UTC
++++ ui/events/event_switches.cc
+@@ -17,7 +17,7 @@ const char kEnableScrollPrediction[] = "
+ 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'.