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
4c5a21c6
Commit
4c5a21c6
authored
Apr 23, 2008
by
ByeongSik Jeon
Committed by
Alexandre Julliard
Apr 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Pass the old conversion status value to the IME.
parent
9a89e4d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
imm.c
dlls/imm32/imm.c
+5
-2
No files found.
dlls/imm32/imm.c
View file @
4c5a21c6
...
...
@@ -1779,6 +1779,7 @@ BOOL WINAPI ImmSetCompositionWindow(
BOOL
WINAPI
ImmSetConversionStatus
(
HIMC
hIMC
,
DWORD
fdwConversion
,
DWORD
fdwSentence
)
{
DWORD
oldConversion
,
oldSentence
;
InputContextData
*
data
=
(
InputContextData
*
)
hIMC
;
TRACE
(
"%p %d %d
\n
"
,
hIMC
,
fdwConversion
,
fdwSentence
);
...
...
@@ -1788,14 +1789,16 @@ BOOL WINAPI ImmSetConversionStatus(
if
(
fdwConversion
!=
data
->
IMC
.
fdwConversion
)
{
oldConversion
=
data
->
IMC
.
fdwConversion
;
data
->
IMC
.
fdwConversion
=
fdwConversion
;
ImmNotifyIME
(
hIMC
,
NI_CONTEXTUPDATED
,
0
,
IMC_SETCONVERSIONMODE
);
ImmNotifyIME
(
hIMC
,
NI_CONTEXTUPDATED
,
oldConversion
,
IMC_SETCONVERSIONMODE
);
ImmInternalSendIMENotify
(
data
,
IMN_SETCONVERSIONMODE
,
0
);
}
if
(
fdwSentence
!=
data
->
IMC
.
fdwSentence
)
{
oldSentence
=
data
->
IMC
.
fdwSentence
;
data
->
IMC
.
fdwSentence
=
fdwSentence
;
ImmNotifyIME
(
hIMC
,
NI_CONTEXTUPDATED
,
0
,
IMC_SETSENTENCEMODE
);
ImmNotifyIME
(
hIMC
,
NI_CONTEXTUPDATED
,
oldSentence
,
IMC_SETSENTENCEMODE
);
ImmInternalSendIMENotify
(
data
,
IMN_SETSENTENCEMODE
,
0
);
}
...
...
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