Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ae7acbfe
Commit
ae7acbfe
authored
Jul 13, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove FIXMEs from physical<->logical mapping functions.
Also group them with the other DPI functions. Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c5cb5e24
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
44 deletions
+34
-44
input.c
dlls/user32/input.c
+0
-20
sysparams.c
dlls/user32/sysparams.c
+34
-0
winpos.c
dlls/user32/winpos.c
+0
-24
No files found.
dlls/user32/input.c
View file @
ae7acbfe
...
...
@@ -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.@)
*/
...
...
dlls/user32/sysparams.c
View file @
ae7acbfe
...
...
@@ -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
;
}
dlls/user32/winpos.c
View file @
ae7acbfe
...
...
@@ -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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment