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
25bfe9df
Commit
25bfe9df
authored
Nov 07, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Nov 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf/tests: Handle an occasional unexpected SetFocus from wine.
parent
511c76df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
inputprocessor.c
dlls/msctf/tests/inputprocessor.c
+5
-2
No files found.
dlls/msctf/tests/inputprocessor.c
View file @
25bfe9df
...
@@ -1997,11 +1997,14 @@ static void test_AssociateFocus(void)
...
@@ -1997,11 +1997,14 @@ static void test_AssociateFocus(void)
test_CurrentFocus
=
dm2
;
test_CurrentFocus
=
dm2
;
test_PrevFocus
=
dm1
;
test_PrevFocus
=
dm1
;
test_OnSetFocus
=
SINK_
EXPECTED
;
test_OnSetFocus
=
SINK_
OPTIONAL
;
/* wine and Winxp */
ShowWindow
(
wnd2
,
SW_SHOWNORMAL
);
ShowWindow
(
wnd2
,
SW_SHOWNORMAL
);
SetFocus
(
wnd2
);
SetFocus
(
wnd2
);
processPendingMessages
();
sink_check_ok
(
&
test_OnSetFocus
,
"OnSetFocus"
);
sink_check_ok
(
&
test_OnSetFocus
,
"OnSetFocus"
);
test_CurrentFocus
=
FOCUS_IGNORE
;
/* occasional wine race */
test_PrevFocus
=
FOCUS_IGNORE
;
/* occasional wine race */
test_OnSetFocus
=
SINK_IGNORE
;
/* occasional wine race */
processPendingMessages
();
ShowWindow
(
wnd3
,
SW_SHOWNORMAL
);
ShowWindow
(
wnd3
,
SW_SHOWNORMAL
);
SetFocus
(
wnd3
);
SetFocus
(
wnd3
);
...
...
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