summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/patch-ui_events_event_switches_cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/patch-ui_events_event_switches_cc')
-rw-r--r--www/chromium-uc/patches/patch-ui_events_event_switches_cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/patch-ui_events_event_switches_cc b/www/chromium-uc/patches/patch-ui_events_event_switches_cc
new file mode 100644
index 0000000..8751f6b
--- /dev/null
+++ b/www/chromium-uc/patches/patch-ui_events_event_switches_cc
@@ -0,0 +1,14 @@
1$OpenBSD: patch-ui_events_event_switches_cc,v 1.9 2020/10/22 13:52:55 robert Exp $
2
3Index: ui/events/event_switches.cc
4--- ui/events/event_switches.cc.orig
5+++ ui/events/event_switches.cc
6@@ -14,7 +14,7 @@ namespace switches {
7 const char kCompensateForUnstablePinchZoom[] =
8 "compensate-for-unstable-pinch-zoom";
9
10-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
11+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
12 // Tells chrome to interpret events from these devices as touch events. Only
13 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the
14 // devices can be retrieved from 'xinput list'.