From 3e308441d45498aec25fd39a9b1da3fc993be200 Mon Sep 17 00:00:00 2001 From: "junmin.zhu@intel.com" Date: Fri, 17 Feb 2012 00:24:36 +0000 Subject: Fixed: touch start event isn't dispatched in realtime on windows. BUG=113642 TEST=http://o.sitepen.com/labs/code/iphone/events.html Review URL: http://codereview.chromium.org/9381029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122402 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/renderer_host/render_widget_host_view_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content') diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc index e272321..3b1c6bb 100644 --- a/content/browser/renderer_host/render_widget_host_view_win.cc +++ b/content/browser/renderer_host/render_widget_host_view_win.cc @@ -942,7 +942,7 @@ LRESULT RenderWidgetHostViewWin::OnCreate(CREATESTRUCT* create_struct) { // Use gestures if touch event switch isn't present or registration fails. if (!CommandLine::ForCurrentProcess()->HasSwitch( switches::kEnableTouchEvents) || - !RegisterTouchWindow(m_hWnd, 0)) { + !RegisterTouchWindow(m_hWnd, TWF_WANTPALM)) { // Single finger panning is consistent with other windows applications. const DWORD gesture_allow = GC_PAN_WITH_SINGLE_FINGER_VERTICALLY | GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY; -- cgit v1.1