Alexandre Julliard : user32: Remove FIXMEs from physical<-> logical mapping functions.
Alexandre Julliard
julliard at winehq.org
Fri Jul 13 15:01:47 CDT 2018
Module: wine
Branch: master
Commit: ae7acbfe4b84937010c4feb45c3c1e8cb2073bcc
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ae7acbfe4b84937010c4feb45c3c1e8cb2073bcc
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Jul 13 17:37:56 2018 +0200
user32: Remove FIXMEs from physical<->logical mapping functions.
Also group them with the other DPI functions.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/input.c | 20 --------------------
dlls/user32/sysparams.c | 34 ++++++++++++++++++++++++++++++++++
dlls/user32/winpos.c | 24 ------------------------
3 files changed, 34 insertions(+), 44 deletions(-)
diff --git a/dlls/user32/input.c b/dlls/user32/input.c
index 19d1ec9..c621769 100644
--- a/dlls/user32/input.c
+++ b/dlls/user32/input.c
@@ -285,16 +285,6 @@ BOOL WINAPI GetCursorInfo( PCURSORINFO pci )
/***********************************************************************
- * GetPhysicalCursorPos (USER32.@)
-*/
-
-BOOL WINAPI GetPhysicalCursorPos(POINT *point)
-{
- FIXME("(%p) semi-stub: forwarding to GetCursorPos\n", point);
- return GetCursorPos(point);
-}
-
-/***********************************************************************
* SetCursorPos (USER32.@)
*/
BOOL WINAPI DECLSPEC_HOTPATCH SetCursorPos( INT x, INT y )
@@ -320,16 +310,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH SetCursorPos( INT x, INT y )
return ret;
}
-/***********************************************************************
- * SetPhysicalCursorPos (USER32.@)
-*/
-
-BOOL WINAPI SetPhysicalCursorPos(INT x, INT y)
-{
- FIXME("(%u %u) semi-stub: forwarding to SetCursorPos\n", x, y);
- return SetCursorPos(x, y);
-}
-
/**********************************************************************
* SetCapture (USER32.@)
*/
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c
index 95387cd..6a22f95 100644
--- a/dlls/user32/sysparams.c
+++ b/dlls/user32/sysparams.c
@@ -3437,3 +3437,37 @@ BOOL WINAPI GetDisplayAutoRotationPreferences( ORIENTATION_PREFERENCE *orientati
*orientation = ORIENTATION_PREFERENCE_NONE;
return TRUE;
}
+
+/* physical<->logical mapping functions from win8 that are nops in later versions */
+
+/***********************************************************************
+ * GetPhysicalCursorPos (USER32.@)
+ */
+BOOL WINAPI GetPhysicalCursorPos( POINT *point )
+{
+ return GetCursorPos( point );
+}
+
+/***********************************************************************
+ * SetPhysicalCursorPos (USER32.@)
+ */
+BOOL WINAPI SetPhysicalCursorPos( INT x, INT y )
+{
+ return SetCursorPos( x, y );
+}
+
+/***********************************************************************
+ * LogicalToPhysicalPoint (USER32.@)
+ */
+BOOL WINAPI LogicalToPhysicalPoint( HWND hwnd, POINT *point )
+{
+ return TRUE;
+}
+
+/***********************************************************************
+ * PhysicalToLogicalPoint (USER32.@)
+ */
+BOOL WINAPI PhysicalToLogicalPoint( HWND hwnd, POINT *point )
+{
+ return TRUE;
+}
diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c
index 56a5393..dc2816a 100644
--- a/dlls/user32/winpos.c
+++ b/dlls/user32/winpos.c
@@ -2999,27 +2999,3 @@ void WINPOS_SysCommandSizeMove( HWND hwnd, WPARAM wParam )
else WINPOS_ShowIconTitle( hwnd, TRUE );
}
}
-
-/***********************************************************************
- * LogicalToPhysicalPoint (USER32.@)
- */
-BOOL WINAPI LogicalToPhysicalPoint(HWND hwnd, POINT *point)
-{
- static int once;
-
- if (!once++)
- FIXME("(%p %p) stub\n", hwnd, point);
- return TRUE;
-}
-
-/***********************************************************************
- * PhysicalToLogicalPoint (USER32.@)
- */
-BOOL WINAPI PhysicalToLogicalPoint(HWND hwnd, POINT *point)
-{
- static int once;
-
- if (!once++)
- FIXME("(%p %p) stub\n", hwnd, point);
- return TRUE;
-}
More information about the wine-cvs
mailing list