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
0e5d5b37
Commit
0e5d5b37
authored
Feb 08, 2008
by
Aric Stewart
Committed by
Alexandre Julliard
Feb 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm: More correctly handle the presence of the default IME input window on IME open and close.
parent
31876695
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
imm.c
dlls/imm32/imm.c
+6
-8
No files found.
dlls/imm32/imm.c
View file @
0e5d5b37
...
@@ -192,19 +192,17 @@ static void ImmInternalSetOpenStatus(BOOL fOpen)
...
@@ -192,19 +192,17 @@ static void ImmInternalSetOpenStatus(BOOL fOpen)
{
{
TRACE
(
"Setting internal state to %s
\n
"
,(
fOpen
)
?
"OPEN"
:
"CLOSED"
);
TRACE
(
"Setting internal state to %s
\n
"
,(
fOpen
)
?
"OPEN"
:
"CLOSED"
);
root_context
->
IMC
.
fOpen
=
fOpen
;
if
(
root_context
->
IMC
.
fOpen
&&
fOpen
==
FALSE
)
root_context
->
bInternalState
=
fOpen
;
{
if
(
fOpen
==
FALSE
)
{
ShowWindow
(
hwndDefault
,
SW_HIDE
);
ShowWindow
(
hwndDefault
,
SW_HIDE
);
ImmDestroyIMCC
(
root_context
->
IMC
.
hCompStr
);
ImmDestroyIMCC
(
root_context
->
IMC
.
hCompStr
);
root_context
->
IMC
.
hCompStr
=
NULL
;
root_context
->
IMC
.
hCompStr
=
NULL
;
}
}
else
ShowWindow
(
hwndDefault
,
SW_SHOWNOACTIVATE
);
ImmInternalSendIMENotify
(
IMN_SETOPENSTATUS
,
0
);
root_context
->
IMC
.
fOpen
=
fOpen
;
root_context
->
bInternalState
=
fOpen
;
ImmInternalSendIMENotify
(
IMN_SETOPENSTATUS
,
0
);
}
}
static
int
updateField
(
DWORD
origLen
,
DWORD
origOffset
,
DWORD
currentOffset
,
static
int
updateField
(
DWORD
origLen
,
DWORD
origOffset
,
DWORD
currentOffset
,
...
...
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