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

Unified Diff: ui/events/ozone/evdev/touch_event_converter_evdev.cc

Issue 2692923009: ozone: Selectively enable touch debug buffer (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/touch_event_converter_evdev.cc
diff --git a/ui/events/ozone/evdev/touch_event_converter_evdev.cc b/ui/events/ozone/evdev/touch_event_converter_evdev.cc
index 7bc1282f88d66e920d9143319d7ede682522e502..d745606b6cd1b783ff12db2c80024796908bc636 100644
--- a/ui/events/ozone/evdev/touch_event_converter_evdev.cc
+++ b/ui/events/ozone/evdev/touch_event_converter_evdev.cc
@@ -293,7 +293,7 @@ void TouchEventConverterEvdev::SetPalmSuppressionCallback(
void TouchEventConverterEvdev::ProcessMultitouchEvent(
const input_event& input) {
- if (touch_logging_enabled_)
+ if (touch_logging_enabled_ && !has_pen_)
touch_evdev_debug_buffer_.ProcessEvent(current_slot_, &input);
if (input.type == EV_SYN) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698