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
516c7e0d
Commit
516c7e0d
authored
May 14, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
May 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Initialize the cursor position in test_GetRawInputBuffer.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1cfc3455
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
input.c
dlls/user32/tests/input.c
+5
-0
No files found.
dlls/user32/tests/input.c
View file @
516c7e0d
...
...
@@ -2236,10 +2236,15 @@ static void test_GetRawInputBuffer(void)
UINT
size
,
count
,
rawinput_size
;
HWND
hwnd
;
BOOL
ret
;
POINT
pt
;
if
(
is_wow64
)
rawinput_size
=
sizeof
(
RAWINPUT64
);
else
rawinput_size
=
sizeof
(
RAWINPUT
);
SetCursorPos
(
300
,
300
);
GetCursorPos
(
&
pt
);
ok
(
pt
.
x
==
300
&&
pt
.
y
==
300
,
"Unexpected cursor position pos %dx%d
\n
"
,
pt
.
x
,
pt
.
y
);
hwnd
=
CreateWindowA
(
"static"
,
"static"
,
WS_VISIBLE
|
WS_POPUP
,
100
,
100
,
100
,
100
,
0
,
NULL
,
NULL
,
NULL
);
SetWindowLongPtrA
(
hwnd
,
GWLP_WNDPROC
,
(
LONG_PTR
)
rawinputbuffer_wndproc
);
...
...
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