pkgsrc-wip/chromium/patches/patch-ui_events_event__swit...

14 lines
513 B
C++

$NetBSD$
--- ui/events/event_switches.cc.orig 2020-07-15 18:56:34.000000000 +0000
+++ ui/events/event_switches.cc
@@ -14,7 +14,7 @@ namespace switches {
const char kCompensateForUnstablePinchZoom[] =
"compensate-for-unstable-pinch-zoom";
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || 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'.