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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc

Issue 688253002: Implemented smooth scrolling using xinput2 in X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 7 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
« ui/events/x/events_x.cc ('K') | « ui/events/x/events_x.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
index 69c5b2f44a8f567170a4288df8c584b1ddf81b19..4debb5b9a58b7900260f97f83ad7df489fb04e73 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
@@ -1680,6 +1680,9 @@ uint32_t DesktopWindowTreeHostX11::DispatchEvent(
if (xev->xcrossing.detail == NotifyInferior)
break;
+ // Clear stored scroll data
+ ui::DeviceDataManagerX11::GetInstance()->InvalidateScrollClasses();
+
sadrul 2015/08/18 16:57:46 You shouldn't need this anymore because of the cha
Will Shackleton 2015/08/26 19:52:48 Quite possibly.
ui::MouseEvent mouse_event(xev);
DispatchMouseEvent(&mouse_event);
break;
« ui/events/x/events_x.cc ('K') | « ui/events/x/events_x.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698