Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
cdf3872f
Commit
cdf3872f
authored
Feb 02, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Feb 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Restore the mouse cursor to its original position.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e883d0ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
input.c
dlls/user32/tests/input.c
+4
-1
No files found.
dlls/user32/tests/input.c
View file @
cdf3872f
...
...
@@ -1927,9 +1927,11 @@ static void test_Input_mouse(void)
struct
thread_data
thread_data
;
HANDLE
thread
;
DWORD
thread_id
;
POINT
pt
;
POINT
pt
,
pt_org
;
MSG
msg
;
GetCursorPos
(
&
pt_org
);
button_win
=
CreateWindowA
(
"button"
,
"button"
,
WS_VISIBLE
|
WS_POPUP
,
100
,
100
,
100
,
100
,
0
,
NULL
,
NULL
,
NULL
);
ok
(
button_win
!=
0
,
"CreateWindow failed
\n
"
);
...
...
@@ -2129,6 +2131,7 @@ static void test_Input_mouse(void)
ok
(
got_button_up
,
"expected WM_LBUTTONUP message
\n
"
);
DestroyWindow
(
hwnd
);
ok
(
ReleaseCapture
(),
"ReleaseCapture failed
\n
"
);
SetCursorPos
(
pt_org
.
x
,
pt_org
.
y
);
CloseHandle
(
thread_data
.
start_event
);
CloseHandle
(
thread_data
.
end_event
);
...
...
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