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
8f3e19a5
Commit
8f3e19a5
authored
Jul 08, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Use default IME window WM_DESTROY to call imm_couninit_thread.
parent
d7d93440
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
imm.c
dlls/imm32/imm.c
+8
-1
win.c
dlls/user32/tests/win.c
+0
-1
No files found.
dlls/imm32/imm.c
View file @
8f3e19a5
...
...
@@ -1028,7 +1028,6 @@ static HWND imm_detach_default_window(IMMThreadData *thread_data)
to_destroy
=
thread_data
->
hwndDefault
;
thread_data
->
hwndDefault
=
NULL
;
thread_data
->
windowRefs
=
0
;
imm_couninit_thread
(
TRUE
);
return
to_destroy
;
}
...
...
@@ -3470,6 +3469,14 @@ LRESULT WINAPI __wine_ime_wnd_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lp
init_messages
();
return
TRUE
;
case
WM_DESTROY
:
{
HWND
default_hwnd
=
ImmGetDefaultIMEWnd
(
0
);
if
(
!
default_hwnd
||
hwnd
==
default_hwnd
)
imm_couninit_thread
(
TRUE
);
}
return
TRUE
;
case
WM_IME_INTERNAL
:
return
ime_internal_msg
(
wparam
,
lparam
);
}
...
...
dlls/user32/tests/win.c
View file @
8f3e19a5
...
...
@@ -3760,7 +3760,6 @@ static void test_SetActiveWindow_0_proc( char **argv )
else
/* < Win10 */
{
ok
(
tmp
==
hwnd
,
"SetActiveWindow returned %p
\n
"
,
tmp
);
todo_wine
ok
(
GetLastError
()
==
0
,
"got error %lu
\n
"
,
GetLastError
()
);
tmp
=
GetForegroundWindow
();
...
...
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