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
585ac559
Commit
585ac559
authored
Mar 29, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Create the IME UI as child of the IME default window.
parent
bb2414fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
imm.c
dlls/imm32/imm.c
+2
-2
imm32.c
dlls/imm32/tests/imm32.c
+1
-1
No files found.
dlls/imm32/imm.c
View file @
585ac559
...
...
@@ -942,8 +942,8 @@ static HWND get_ime_ui_window(void)
if
(
!
imc
->
ui_hwnd
)
{
imc
->
ui_hwnd
=
CreateWindowExW
(
WS_EX_TOOLWINDOW
,
imc
->
ime
->
ui_class
,
NULL
,
WS_POPUP
,
0
,
0
,
1
,
1
,
0
,
0
,
imc
->
ime
->
module
,
0
);
imc
->
ui_hwnd
=
CreateWindowExW
(
WS_EX_TOOLWINDOW
,
imc
->
ime
->
ui_class
,
NULL
,
WS_POPUP
,
0
,
0
,
1
,
1
,
ImmGetDefaultIMEWnd
(
0
)
,
0
,
imc
->
ime
->
module
,
0
);
SetWindowLongPtrW
(
imc
->
ui_hwnd
,
IMMGWL_IMC
,
(
LONG_PTR
)
imc
->
handle
);
}
return
imc
->
ui_hwnd
;
...
...
dlls/imm32/tests/imm32.c
View file @
585ac559
...
...
@@ -4184,7 +4184,7 @@ static void test_ImmActivateLayout(void)
ok_ret
(
1
,
EnumThreadWindows
(
GetCurrentThreadId
(),
enum_thread_ime_windows
,
(
LPARAM
)
&
ime_windows
)
);
ok
(
!!
ime_windows
.
ime_hwnd
,
"missing IME window
\n
"
);
ok
(
!!
ime_windows
.
ime_ui_hwnd
,
"missing IME UI window
\n
"
);
todo_wine
ok_ret
(
(
UINT_PTR
)
ime_windows
.
ime_hwnd
,
(
UINT_PTR
)
GetParent
(
ime_windows
.
ime_ui_hwnd
)
);
ok_ret
(
(
UINT_PTR
)
ime_windows
.
ime_hwnd
,
(
UINT_PTR
)
GetParent
(
ime_windows
.
ime_ui_hwnd
)
);
todo_ImeDestroy
=
TRUE
;
/* Wine doesn't leak the IME */
ok_eq
(
hkl
,
ActivateKeyboardLayout
(
old_hkl
,
0
),
HKL
,
"%p"
);
...
...
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