summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/render_widget_host_view_win.cc2
1 files changed, 1 insertions, 1 deletions
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;