Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ui / base / touch / touch_device_win.cc
index ba5c260..18f2f12 100644 (file)
@@ -15,6 +15,9 @@ bool IsTouchDevicePresent() {
 }
 
 int MaxTouchPoints() {
+  if (!IsTouchDevicePresent())
+    return 0;
+
   return GetSystemMetrics(SM_MAXIMUMTOUCHES);
 }