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
dfd25067
Commit
dfd25067
authored
Mar 25, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 26, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Don't send mouse clicks to other process windows in input tests.
parent
b5bb2e2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
input.c
dlls/user32/tests/input.c
+4
-0
No files found.
dlls/user32/tests/input.c
View file @
dfd25067
...
...
@@ -1899,6 +1899,9 @@ static void test_Input_mouse(void)
ok
(
!
got_button_up
,
"unexpected WM_LBUTTONUP message
\n
"
);
/* click after SetCapture call */
hwnd
=
CreateWindowA
(
"button"
,
"button"
,
WS_VISIBLE
|
WS_POPUP
,
0
,
0
,
100
,
100
,
0
,
NULL
,
NULL
,
NULL
);
ok
(
hwnd
!=
0
,
"CreateWindow failed
\n
"
);
SetCapture
(
button_win
);
got_button_down
=
got_button_up
=
FALSE
;
simulate_click
(
FALSE
,
50
,
50
);
...
...
@@ -1920,6 +1923,7 @@ static void test_Input_mouse(void)
}
ok
(
got_button_down
,
"expected WM_RBUTTONDOWN message
\n
"
);
ok
(
got_button_up
,
"expected WM_RBUTTONUP message
\n
"
);
DestroyWindow
(
hwnd
);
/* click on child window after SetCapture call */
hwnd
=
CreateWindowA
(
"button"
,
"button2"
,
WS_VISIBLE
|
WS_CHILD
,
...
...
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