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
53b703d4
Commit
53b703d4
authored
Aug 31, 2016
by
Huw Davies
Committed by
Alexandre Julliard
Aug 31, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Move the cursor off the parent window to avoid mouse messages.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
249b494c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
syslink.c
dlls/comctl32/tests/syslink.c
+6
-0
No files found.
dlls/comctl32/tests/syslink.c
View file @
53b703d4
...
@@ -192,6 +192,7 @@ START_TEST(syslink)
...
@@ -192,6 +192,7 @@ START_TEST(syslink)
BOOL
rc
;
BOOL
rc
;
HWND
hWndSysLink
;
HWND
hWndSysLink
;
LONG
oldstyle
;
LONG
oldstyle
;
POINT
orig_pos
;
if
(
!
load_v6_module
(
&
ctx_cookie
,
&
hCtx
))
if
(
!
load_v6_module
(
&
ctx_cookie
,
&
hCtx
))
return
;
return
;
...
@@ -214,6 +215,10 @@ START_TEST(syslink)
...
@@ -214,6 +215,10 @@ START_TEST(syslink)
return
;
return
;
}
}
/* Move the cursor off the parent window */
GetCursorPos
(
&
orig_pos
);
SetCursorPos
(
400
,
400
);
init_msg_sequences
(
sequences
,
NUM_MSG_SEQUENCE
);
init_msg_sequences
(
sequences
,
NUM_MSG_SEQUENCE
);
/* Create parent window */
/* Create parent window */
...
@@ -251,4 +256,5 @@ START_TEST(syslink)
...
@@ -251,4 +256,5 @@ START_TEST(syslink)
DestroyWindow
(
hWndSysLink
);
DestroyWindow
(
hWndSysLink
);
DestroyWindow
(
hWndParent
);
DestroyWindow
(
hWndParent
);
unload_v6_module
(
ctx_cookie
,
hCtx
);
unload_v6_module
(
ctx_cookie
,
hCtx
);
SetCursorPos
(
orig_pos
.
x
,
orig_pos
.
y
);
}
}
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