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
46c5c2d4
Commit
46c5c2d4
authored
Jan 19, 2024
by
Rémi Bernon
Committed by
Alexandre Julliard
Jan 24, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Complete the composition string when the IME is closed.
parent
0d9e6ada
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
ime.c
dlls/imm32/ime.c
+4
-8
No files found.
dlls/imm32/ime.c
View file @
46c5c2d4
...
...
@@ -653,11 +653,7 @@ BOOL WINAPI NotifyIME( HIMC himc, DWORD action, DWORD index, DWORD value )
}
break
;
case
IMC_SETOPENSTATUS
:
if
(
!
ctx
->
fOpen
)
{
input_context_set_comp_str
(
ctx
,
NULL
,
0
);
if
((
msg
=
ime_set_composition_status
(
himc
,
FALSE
)))
ime_send_message
(
himc
,
msg
,
0
,
0
);
}
if
(
!
ctx
->
fOpen
)
ImmNotifyIME
(
himc
,
NI_COMPOSITIONSTR
,
CPS_COMPLETE
,
0
);
NtUserNotifyIMEStatus
(
ctx
->
hWnd
,
ctx
->
fOpen
);
break
;
}
...
...
@@ -691,12 +687,12 @@ BOOL WINAPI NotifyIME( HIMC himc, DWORD action, DWORD index, DWORD value )
if
(
flags
)
ime_send_message
(
himc
,
WM_IME_COMPOSITION
,
wchr
,
flags
);
}
ImmSetOpenStatus
(
himc
,
FALSE
);
break
;
/* fallthrough */
}
case
CPS_CANCEL
:
input_context_set_comp_str
(
ctx
,
NULL
,
0
);
ImmSetOpenStatus
(
himc
,
FALSE
);
if
((
msg
=
ime_set_composition_status
(
himc
,
FALSE
)))
ime_send_message
(
himc
,
msg
,
0
,
0
);
break
;
default:
FIXME
(
"himc %p, action %#lx, index %#lx, value %#lx stub!
\n
"
,
himc
,
action
,
index
,
value
);
...
...
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