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
28582dbf
Commit
28582dbf
authored
Mar 11, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Skip shift+button test if we don't receive the event.
parent
943ae1f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
msg.c
dlls/user32/tests/msg.c
+9
-7
No files found.
dlls/user32/tests/msg.c
View file @
28582dbf
...
...
@@ -6850,12 +6850,17 @@ static void test_accelerators(void)
GetCursorPos
(
&
pt
);
if
(
pt
.
x
==
rc
.
left
&&
pt
.
y
==
rc
.
top
)
{
int
i
;
keybd_event
(
VK_SHIFT
,
0
,
0
,
0
);
mouse_event
(
MOUSEEVENTF_LEFTDOWN
,
0
,
0
,
0
,
0
);
mouse_event
(
MOUSEEVENTF_LEFTUP
,
0
,
0
,
0
,
0
);
keybd_event
(
VK_SHIFT
,
0
,
KEYEVENTF_KEYUP
,
0
);
pump_msg_loop
(
hwnd
,
0
);
ok_sequence
(
WmShiftMouseButton
,
"Shift+MouseButton press/release"
,
FALSE
);
for
(
i
=
0
;
i
<
sequence_cnt
;
i
++
)
if
(
sequence
[
i
].
message
==
WM_LBUTTONDOWN
)
break
;
if
(
i
<
sequence_cnt
)
ok_sequence
(
WmShiftMouseButton
,
"Shift+MouseButton press/release"
,
FALSE
);
else
skip
(
"Shift+MouseButton event didn't get to the window
\n
"
);
}
done:
...
...
@@ -8222,12 +8227,9 @@ static const struct message ScrollWindowPaint1[] = {
{
WM_GETTEXTLENGTH
,
sent
|
optional
},
{
WM_PAINT
,
sent
|
optional
},
{
WM_NCPAINT
,
sent
|
beginpaint
|
optional
},
{
WM_GETTEXT
,
sent
|
optional
},
{
WM_GETTEXT
,
sent
|
optional
},
{
WM_GETTEXT
,
sent
|
optional
},
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
{
WM_GETTEXT
,
sent
|
defwinproc
|
optional
},
{
WM_ERASEBKGND
,
sent
|
optional
},
{
WM_GETTEXT
,
sent
|
beginpaint
|
optional
},
{
WM_GETTEXT
,
sent
|
beginpaint
|
optional
},
{
WM_ERASEBKGND
,
sent
|
beginpaint
|
optional
},
{
0
}
};
...
...
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