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
2fda6abf
Commit
2fda6abf
authored
Apr 14, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Apr 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Don't hide/show IME UI window in ImmSetCompositionWindow.
parent
3a9e237b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
imm.c
dlls/imm32/imm.c
+0
-10
imm32.c
dlls/imm32/tests/imm32.c
+1
-1
No files found.
dlls/imm32/imm.c
View file @
2fda6abf
...
...
@@ -2629,9 +2629,7 @@ BOOL WINAPI ImmSetCompositionStringW(
*/
BOOL
WINAPI
ImmSetCompositionWindow
(
HIMC
himc
,
COMPOSITIONFORM
*
composition
)
{
BOOL
reshow
=
FALSE
;
INPUTCONTEXT
*
ctx
;
HWND
ui_hwnd
;
TRACE
(
"himc %p, composition %s
\n
"
,
himc
,
debugstr_composition
(
composition
)
);
...
...
@@ -2641,14 +2639,6 @@ BOOL WINAPI ImmSetCompositionWindow( HIMC himc, COMPOSITIONFORM *composition )
ctx
->
cfCompForm
=
*
composition
;
ctx
->
fdwInit
|=
INIT_COMPFORM
;
if
((
ui_hwnd
=
get_ime_ui_window
())
&&
IsWindowVisible
(
ui_hwnd
))
{
reshow
=
TRUE
;
ShowWindow
(
ui_hwnd
,
SW_HIDE
);
}
if
(
ui_hwnd
&&
reshow
)
ShowWindow
(
ui_hwnd
,
SW_SHOWNOACTIVATE
);
ImmNotifyIME
(
himc
,
NI_CONTEXTUPDATED
,
0
,
IMC_SETCOMPOSITIONWINDOW
);
SendMessageW
(
ctx
->
hWnd
,
WM_IME_NOTIFY
,
IMN_SETCOMPOSITIONWINDOW
,
0
);
...
...
dlls/imm32/tests/imm32.c
View file @
2fda6abf
...
...
@@ -6221,7 +6221,7 @@ static void test_ImmSetCompositionWindow(void)
memset
(
&
comp_form
,
0xcd
,
sizeof
(
comp_form
)
);
ok_ret
(
1
,
ImmSetCompositionWindow
(
himc
,
&
comp_form
)
);
process_messages
();
todo_wine
ok_seq
(
set_composition_window_0_seq
);
ok_seq
(
set_composition_window_0_seq
);
ok_eq
(
INIT_COMPFORM
,
ctx
->
fdwInit
,
UINT
,
"%u"
);
check_composition_form
(
&
ctx
->
cfCompForm
,
&
comp_form
);
ok_ret
(
1
,
IsWindowVisible
(
ime_windows
.
ime_ui_hwnd
)
);
...
...
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