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
ad627248
Commit
ad627248
authored
Nov 20, 2012
by
Aric Stewart
Committed by
Alexandre Julliard
Nov 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Use SendMessage not PostMessage for the default IME winproc.
parent
720c0c81
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
imm.c
dlls/imm32/imm.c
+6
-4
No files found.
dlls/imm32/imm.c
View file @
ad627248
...
@@ -2906,8 +2906,9 @@ static LRESULT WINAPI DefIME_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
...
@@ -2906,8 +2906,9 @@ static LRESULT WINAPI DefIME_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
{
{
ImmHkl
*
immHkl
=
IMM_GetImmHkl
(
GetKeyboardLayout
(
0
));
ImmHkl
*
immHkl
=
IMM_GetImmHkl
(
GetKeyboardLayout
(
0
));
if
(
immHkl
->
UIWnd
)
if
(
immHkl
->
UIWnd
)
PostMessageW
(
immHkl
->
UIWnd
,
uMsg
,
wParam
,
lParam
);
return
SendMessageW
(
immHkl
->
UIWnd
,
uMsg
,
wParam
,
lParam
);
return
TRUE
;
else
return
FALSE
;
}
}
default:
default:
if
((
uMsg
==
WM_MSIME_RECONVERTOPTIONS
)
||
if
((
uMsg
==
WM_MSIME_RECONVERTOPTIONS
)
||
...
@@ -2920,8 +2921,9 @@ static LRESULT WINAPI DefIME_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
...
@@ -2920,8 +2921,9 @@ static LRESULT WINAPI DefIME_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
{
{
ImmHkl
*
immHkl
=
IMM_GetImmHkl
(
GetKeyboardLayout
(
0
));
ImmHkl
*
immHkl
=
IMM_GetImmHkl
(
GetKeyboardLayout
(
0
));
if
(
immHkl
->
UIWnd
)
if
(
immHkl
->
UIWnd
)
PostMessageW
(
immHkl
->
UIWnd
,
uMsg
,
wParam
,
lParam
);
return
SendMessageW
(
immHkl
->
UIWnd
,
uMsg
,
wParam
,
lParam
);
return
TRUE
;
else
return
FALSE
;
}
}
return
DefWindowProcW
(
hwnd
,
uMsg
,
wParam
,
lParam
);
return
DefWindowProcW
(
hwnd
,
uMsg
,
wParam
,
lParam
);
}
}
...
...
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