Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: ui/events/devices/x11/ui_events_devices_x11_switches.cc

Issue 2153683002: Added a command line switch to disable xinput2, enabled xinput2 by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/devices/x11/ui_events_devices_x11_switches.cc
diff --git a/ui/events/devices/x11/ui_events_devices_x11_switches.cc b/ui/events/devices/x11/ui_events_devices_x11_switches.cc
new file mode 100644
index 0000000000000000000000000000000000000000..190d64722ba31658d55ac8b9021f72b639fbe40c
--- /dev/null
+++ b/ui/events/devices/x11/ui_events_devices_x11_switches.cc
@@ -0,0 +1,16 @@
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "build/build_config.h"
+#include "ui/events/devices/x11/ui_events_devices_x11_switches.h"
+
+namespace switches {
+
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
+// Disables high precision scrolling in X11
+const char kDisableHighPrecisionScrolling[] =
+ "disable-high-precision-scrolling";
+#endif
+
+} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698