Bug 493316 - [HighDPI][Win32] Display#setCursorLocation() method should
be adapted for auto-Scaling.

Change-Id: I29d72557a2cf22e5bc4345122b2af1fafa34167b
Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
index 93dd93a..70f9ad0 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
@@ -4481,6 +4481,10 @@
  */
 public void setCursorLocation (int x, int y) {
 	checkDevice ();
+	setCursorLocationInPixels (DPIUtil.autoScaleUp (x), DPIUtil.autoScaleUp (y));
+}
+
+void setCursorLocationInPixels (int x, int y) {
 	OS.SetCursorPos (x, y);
 }